back to home

prefix-dev / pixi

Powerful system-level package manager for Linux, macOS and Windows written in Rust – building on top of the Conda ecosystem.

6,601 stars
460 forks
669 issues
RustPythonShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing prefix-dev/pixi in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/prefix-dev/pixi)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

![License][license-badge] [![Project Chat][chat-badge]][chat-url] [![Pixi Badge][pixi-badge]][pixi-url] [license-badge]: https://img.shields.io/badge/license-BSD--3--Clause-blue?style=flat-square [chat-badge]: https://img.shields.io/discord/1082332781146800168.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2&style=flat-square [chat-url]: https://discord.gg/kKV8ZxyzY4 [pixi-badge]:https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json&style=flat-square [pixi-url]: https://pixi.sh Pixi: Package Management Made Easy Overview is a cross-platform, multi-language package manager and workflow tool built on the foundation of the conda ecosystem. It provides developers with an exceptional experience similar to popular package managers like or , but for any language. Developed with ❤️ at prefix.dev. Highlights • Supports **multiple languages** including Python, C++, and R using Conda packages. You can find available packages on prefix.dev. • Compatible with all major operating systems: Linux, Windows, macOS (including Apple Silicon). • Always includes an up-to-date **lock file**. • Provides a clean and simple Cargo-like **command-line interface**. • Allows you to install tools **per-project** or **system-wide**. • Entirely written in **Rust** and built on top of the **rattler** library. Getting Started • ⚡ Installation • ⚙️ Examples • 📚 Documentation • 😍 Contributing • 🔨 Built using Pixi • 🚀 GitHub Action Status Pixi is ready for production! We are working hard to keep file-format changes compatible with the previous versions so that you can rely on Pixi with peace of mind. Some notable features we envision for upcoming releases are: • **Build and publish** your project as a Conda package. • Support for **dependencies from source**. • More powerful "global installation" of packages towards a deterministic setup of global packages on multiple machines. Installation can be installed on macOS, Linux, and Windows. The provided scripts will automatically download the latest version of , extract it, and move the binary to . If this directory does not exist, the script will create it. macOS and Linux To install Pixi on macOS and Linux, open a terminal and run the following command: The script will also update your to include in your , allowing you to invoke the command from anywhere. You might need to restart your terminal or source your shell for the changes to take effect. Starting with macOS Catalina zsh is the default login shell and interactive shell. Therefore, you might want to use instead of in the install command: The script will also update your to include in your , allowing you to invoke the command from anywhere. Windows To install Pixi on Windows, open a PowerShell terminal (you may need to run it as an administrator) and run the following command: Changing the execution policy allows running a script from the internet. Check the script you would be running with: The script will inform you once the installation is successful and add the directory to your , which will allow you to run the command from any location. Or with Autocompletion To get autocompletion follow the instructions for your shell. Afterwards, restart the shell or source the shell config file. Bash (default on most Linux systems) Add the following to the end of : Zsh (default on macOS) Add the following to the end of : PowerShell (pre-installed on all Windows systems) Add the following to the end of . You can check the location of this file by querying the variable in PowerShell. Typically the path is or on -Nix. Fish Add the following to the end of : Nushell Add the following to your Nushell config file (find it by running in Nushell): Elvish Add the following to the end of : Distro Packages Arch Linux You can install from the extra repository using pacman: Alpine Linux is available for Alpine Edge. It can be installed via apk after enabling the testing repository. Build/install from source is 100% written in Rust and therefore it can be installed, built and tested with cargo. To start using from a source build run: We don't publish to anymore, so you need to install it from the repository. The reason for this is that we depend on some unpublished crates which disallows us to publish to . If you install pixi that way, it isn't necessarily the first in your PATH. The one installed by the installation script might take precedence. Therefore, we recommend running the following task instead for local development: This way, a new binary called will be available without any name conflicts with other Pixi installations on your system. Uninstall To uninstall, the Pixi binary should be removed. Delete from the which is default to So on Linux its: and on Windows: After this command you can still use the tools you installed with . To remove these as well just remove the whole directory and remove the directory from your path. Usage The cli looks as follows: Creating a Pixi workspace Initialize a new workspace and navigate to the workspace directory Add the dependencies you want to use Run the installed package in its environment Activate a shell in the environment Check out https://pixi.sh/dev/first_workspace/ for a more detailed introduction to workspaces. Installing a conda package globally You can also globally install conda packages into their own environment. This behavior is similar to or . Use in GitHub Actions You can use Pixi in GitHub Actions to install dependencies and run commands. It supports automatic caching of your environments. See the documentation for more details. Contributing 😍 We would absolutely love for you to contribute to Pixi! Whether you want to start an issue, fix a bug you encountered, or suggest an improvement, every contribution is greatly appreciated. If you're just getting started with our project or stepping into the Rust ecosystem for the first ti…