Skip to content
03Install guides · 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

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

macOS

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

Linux (Ubuntu/Debian)

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

Android (Termux)

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

Check it worked

$ uv --version
$ 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

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