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

# Install Python and uv

uv is a fast tool that installs Python for you and runs Python apps (like LogicPacks) without setup headaches.

Roman Urdu: uv ek chota sa tool ha jo Python bhi install kr deta ha aur Python apps bhi chalata ha. Pehle uv install krein, Python woh khud le aayega.

**Cost:** Free, open source.

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

## Windows

1.  Open PowerShell (no admin needed) and run the official installer:
    
    ```sh
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    ```
    
2.  Or with winget:
    
    ```sh
    winget install --id=astral-sh.uv -e
    ```
    
3.  Close and reopen PowerShell, then let uv install Python:
    
    ```sh
    uv python install
    ```
    

## macOS

1.  Open Terminal and run:
    
    ```sh
    curl -LsSf https://astral.sh/uv/install.sh | sh
    ```
    
2.  Or, if you use Homebrew:
    
    ```sh
    brew install uv
    ```
    
3.  Open a new Terminal window, then install Python:
    
    ```sh
    uv python install
    ```
    

## Linux (Ubuntu/Debian)

1.  Run the official installer (works on Ubuntu, Debian, Fedora and WSL):
    
    ```sh
    curl -LsSf https://astral.sh/uv/install.sh | sh
    ```
    
2.  No curl? Use wget:
    
    ```sh
    wget -qO- https://astral.sh/uv/install.sh | sh
    ```
    
3.  Open a new terminal, then install Python:
    
    ```sh
    uv python install
    ```
    

## Android (Termux)

1.  Termux has its own Python and uv packages. Use them instead of the installer script:
    
    ```sh
    pkg update
    ```
    
    ```sh
    pkg install python uv
    ```
    

## Check it worked

```sh
uv --version
```

```sh
uv python list
```

uv 0.x.x, then a list where at least one Python version is installed

## Common errors

`uv: command not found` or `uv` is not recognized

Open a new terminal window. The installer puts uv in `~/.local/bin` (Windows: `%USERPROFILE%\.local\bin`), which only new windows see.

`python` is not found after `uv python install`

Normal: uv adds only a versioned name such as `python3.14`. Use `uv run python`, or add `--default` (experimental) to get plain `python` and `python3`.

Windows: typing `python` opens the Microsoft Store

That is a Windows shortcut, not real Python. Use `uv run python`, or turn off the "App execution aliases" for python in Windows Settings.

PowerShell: "running scripts is disabled on this system"

Use the exact installer command above. It includes `-ExecutionPolicy ByPass` for that reason.

## Official docs

-   [uv docs: Installation](https://docs.astral.sh/uv/getting-started/installation/)
-   [uv docs: Installing Python](https://docs.astral.sh/uv/guides/install-python/)
-   [uv docs: Using tools (uvx)](https://docs.astral.sh/uv/guides/tools/)
-   [Termux packages: python](https://github.com/termux/termux-packages/tree/master/packages/python)
-   [Termux packages: uv](https://github.com/termux/termux-packages/tree/master/packages/uv)

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) [Next : Install Node.js (LTS)](https://logicpacks.io/install/node)

---

Canonical URL: https://logicpacks.io/install/python-uv

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).
