C.W.K.
Stream
Lesson 02 of 05 · published

Install pixi

~6 min · pixi, installation

Level 0Newbie
0 XP0/55 lessons0/16 achievements
0/80 XP to next level80 XP to go0% complete

pixi is a single static binary — no Python required (unlike conda, which IS Python). Two install paths.

Curl installer (recommended): curl -fsSL https://pixi.sh/install.sh | bash. Drops the binary at ~/.pixi/bin/pixi and adds to PATH. Restart your shell.

Homebrew: brew install pixi. Slightly slower install but keeps pixi in your Brewfile.

Verify with pixi --version. Upgrade with pixi self-update (curl install) or brew upgrade pixi.

Code

Two install paths·bash
# Path 1 — curl installer (recommended)
curl -fsSL https://pixi.sh/install.sh | bash

# Restart shell, then verify
pixi --version

# Path 2 — Homebrew
brew install pixi

# Upgrade
pixi self-update
brew upgrade pixi

External links

Exercise

Install pixi via the curl installer. Run 'pixi --version'. Then 'pixi init scratch && cd scratch && pixi add python numpy && pixi run python -c "import numpy; print(numpy.__version__)"'. From zero to working numpy in three commands.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.