본문 바로가기
C.W.K.
Stream
Lesson 02 of 05 · published

pixi 설치

~6 min · pixi, installation

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

pixi는 정적 실행 파일 하나로 동작하므로 Python이 먼저 필요한 conda와 달리 Python을 요구하지 않아. 설치 방법은 두 가지야.

권장 방식인 curl 설치 도구curl -fsSL https://pixi.sh/install.sh | bash로 실행해. ~/.pixi/bin/pixi에 실행 파일을 놓고 PATH에 추가하므로 설치 뒤 셸을 다시 열어.

Homebrew를 쓰려면 brew install pixi를 실행해. 설치는 조금 느리지만 다른 도구와 함께 Brewfile로 관리할 수 있어.

pixi --version으로 확인해. curl 방식으로 설치했다면 pixi self-update로, Homebrew 방식이라면 brew upgrade pixi로 올려.

Code

두 가지 설치 경로·bash
# Path 1 — curl installer (권장)
curl -fsSL https://pixi.sh/install.sh | bash

# shell 재시작, 검증
pixi --version

# Path 2 — Homebrew
brew install pixi

# 업그레이드
pixi self-update
brew upgrade pixi

External links

Exercise

curl 설치 도구로 pixi를 설치하고 'pixi --version'을 실행해. 이어서 'pixi init scratch && cd scratch && pixi add python numpy && pixi run python -c "import numpy; print(numpy.__version__)"'을 실행해. 아무것도 없는 상태에서 작동하는 NumPy 환경까지 몇 명령이면 충분해.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.