pixi global, making development tools available system-wide without environment conflicts.
What are Global Tools?
Global tools are command-line applications installed system-wide, available from any directory. Withpixi global, you can:
- Install tools in isolated environments
- Avoid dependency conflicts between tools
- Share tools across all your projects
- Install GUI applications with start menu entries
Basic Installation
Isolated Environments
By default, each tool gets its own environment, preventing dependency conflicts:Installing Tools Together
Tools with Dependencies
Sometimes tools work better together. Install multiple tools in one environment:ipython(exposed to PATH)numpy(available in ipython, not exposed)matplotlib(available in ipython, not exposed)
Data Science Environment
Create a complete data science environment:Managing Multiple Versions
Install Different Versions
Install multiple versions of the same tool:Custom Executable Names
Expose tools under custom names:bat as bird:
Installing from Source
From Local Directory
Install a package from local source:pixi.toml or pyproject.toml with package metadata:
From Git Repository
Install directly from a Git repository:Multi-Output Packages
If a source has multiple outputs, specify which one:Installing Multiple Tools
Install Several Tools at Once
Install multiple independent tools:Create a Development Environment
Install all your development tools together:Platform-Specific Installation
Cross-Platform Tools
Install tools for a different platform:Shell Completions
Enable Completions
When you install tools viapixi global, completions are automatically installed to $PIXI_HOME/completions.
- Bash
- Zsh
- Fish
Add to
~/.bashrc:Completions are only installed for tools whose binaries are exposed under their original names.
Managing Environments
Add Dependencies to Environment
Add packages to an existing environment:Remove Dependencies
Remove packages from an environment:View Environment Details
See what’s in an environment:The Global Manifest
Manifest Location
The global manifest stores all your installed tools:- Linux/macOS:
~/.pixi/manifests/pixi-global.toml - Windows:
%USERPROFILE%\.pixi\manifests\pixi-global.toml
Manifest Structure
Example manifest:Share Your Manifest
You can:- Check the manifest into version control
- Share it with team members
- Edit it directly (then run
pixi global sync)
GUI Applications
Install Applications with GUIs
Some packages include GUI applications:- Installs the application
- Creates start menu entries (Windows/Linux)
- Adds to Launchpad (macOS)
Advanced Usage
Custom Channels
Install from specific channels:Version Constraints
Specify exact versions:Nested Executables
Some tools have executables in subdirectories:Common Use Cases
Development Tools
Install your essential development tools:Build Tools
Install build and packaging tools:Data Science Tools
Install data science environments:Language Servers
Install language servers for your editor:Complete Example
Here’s a complete setup for a Python developer:Best Practices
Troubleshooting
Tool Not Found
If a tool isn’t found after installation:-
Check if it was exposed:
-
Verify your PATH includes Pixi’s bin directory:
- Restart your shell
Dependency Conflicts
If tools have conflicting dependencies, install them in separate environments:Update All Tools
Update all globally installed tools:Next Steps
- Learn about Python development with Pixi
- Set up multi-environment workspaces
- Explore pyproject.toml integration