Skip to main content

pixi

Introduction to pixi

pPixi is a fast, modern, and reproducible package management tool for developers of all backgrounds. It provides simple commands for creating isolated environments, installing packages, and running Python applications without affecting system-wide packages. For more details, refer to the project's documentation.

Using pixi with Modules

To use pixi on the terrabyte HPC system, load the pixi module with the following command:

# consider adding the module use line to your ~/.bashrc to always make terrabyte modules available 
module use /dss/dsstbyfs01/pn56su/pn56su-dss-0020/usr/share/modules/files/
module load pixi

Usage Examples

Once loaded, you can start using pixi to manage application environments. Below are some common examples:

Example 1: Create a New Environment

To create a new environment named myenv:

pixi create myenv

Example 2: Activate an Environment

To activate the myenv environment:

pixi activate myenv

Example 3: Install a Package

To install a package, such as numpy, into the active environment:

pixi install numpy

Example 4: List Installed Packages

To list all installed packages in the active environment:

pixi list

Example 5: Remove an Environment

To remove an environment named myenv:

pixi remove myenv

For additional usage instructions and configuration details, refer to the project's documentation.