10 [Install guides](https://logicpacks.io/install) · 5 min

# Install LogicPacks

LogicPacks gives your agent tested packs (spec + code + checks) and keeps your API keys in a local vault that programs can use without seeing them.

Roman Urdu: LogicPacks free ha, account ki zaroorat nahi. uv install ho toh ek command se chal jata ha.

**Cost:** Free. No account, licence or API key needed.

[Windows](#windows) · [macOS](#macos) · [Linux (Ubuntu/Debian)](#linux)

## Windows

1.  You need [uv](https://logicpacks.io/install/python-uv) first. Try LogicPacks without installing anything:
    
    ```sh
    uvx logicpacks@latest --version
    ```
    
2.  Install it for good (no admin). It goes to `%USERPROFILE%\.logicpacks\bin`, checks the download's SHA-256, and brings its own Python only if you have none:
    
    ```sh
    irm https://logicpacks.io/lp.ps1 | iex
    ```
    
3.  Or install it with uv:
    
    ```sh
    uv tool install logicpacks
    ```
    
4.  Open a new terminal and check the install. In Windows PowerShell 5.1, `lp` means Out-Printer, so use `logicpacks`:
    
    ```sh
    logicpacks doctor
    ```
    
5.  Optional: connect your agent. Swap `claude` for `codex`, `cursor`, `opencode` or `gemini`:
    
    ```sh
    logicpacks mcp install claude --apply
    ```
    

## macOS

1.  You need [uv](https://logicpacks.io/install/python-uv) first. Try LogicPacks without installing anything:
    
    ```sh
    uvx logicpacks@latest --version
    ```
    
2.  Install it for good (no sudo). It goes to `~/.logicpacks/bin` and checks the download's SHA-256:
    
    ```sh
    curl -fsSL https://logicpacks.io/lp.sh | sh
    ```
    
3.  Or install it with uv:
    
    ```sh
    uv tool install logicpacks
    ```
    
4.  Open a new Terminal and check the install. macOS has a printer command `/usr/bin/lp`, so use `logicpacks`:
    
    ```sh
    logicpacks doctor
    ```
    
5.  Optional: connect your agent. Swap `claude` for `codex`, `cursor`, `opencode` or `gemini`:
    
    ```sh
    logicpacks mcp install claude --apply
    ```
    

## Linux (Ubuntu/Debian)

1.  You need [uv](https://logicpacks.io/install/python-uv) first. Try LogicPacks without installing anything:
    
    ```sh
    uvx logicpacks@latest --version
    ```
    
2.  Install it for good (no sudo). It goes to `~/.logicpacks/bin` and checks the download's SHA-256:
    
    ```sh
    curl -fsSL https://logicpacks.io/lp.sh | sh
    ```
    
3.  Or install it with uv:
    
    ```sh
    uv tool install logicpacks
    ```
    
4.  Open a new terminal and check the install. Linux has a printer command `/usr/bin/lp`, so use `logicpacks`:
    
    ```sh
    logicpacks doctor
    ```
    
5.  Optional: connect your agent. Swap `claude` for `codex`, `cursor`, `opencode` or `gemini`:
    
    ```sh
    logicpacks mcp install claude --apply
    ```
    

## Check it worked

```sh
logicpacks --version
```

```sh
logicpacks doctor
```

lp 1.x (1.0.21 on 2026-12-05), then `python`, `lp`, `home` and `vault` marked ok; lines marked `--` are optional

## Common errors

`lp --version` prints something that is not `lp 1.x`

That is the system printer command. Use `logicpacks` instead, or open a new terminal so `~/.logicpacks/bin` comes first on PATH.

`uvx: command not found`

Install uv first ([Python + uv guide](https://logicpacks.io/install/python-uv)), then open a new terminal.

`logicpacks: command not found` after `uv tool install`

Run `uv tool update-shell`, then open a new terminal.

Windows PowerShell: `lp` sends text to the printer

In PowerShell 5.1 `lp` is an alias for Out-Printer. Type `logicpacks` (or `lp.cmd`).

## Official docs

-   [LogicPacks: Set up](https://logicpacks.io/setup.md)
-   [logicpacks on PyPI](https://pypi.org/project/logicpacks/)
-   [uv docs: Using tools (uvx)](https://docs.astral.sh/uv/guides/tools/)

Checked against these pages on 2026-12-05. Tools change: if a step differs, the official page wins.

[Install guides : All guides](https://logicpacks.io/install) [Then : What to build](https://logicpacks.io/build)

---

Canonical URL: https://logicpacks.io/install/logicpacks

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](https://logicpacks.io/llms.txt). Plain facts: [/about.md](https://logicpacks.io/about.md). Safety: [/safety.md](https://logicpacks.io/safety.md).
