Skip to main content
Learn how to install and manage command-line tools globally with 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. With pixi 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
pixi global is similar to pipx for Python tools, but works with any conda package.

Basic Installation

Isolated Environments

By default, each tool gets its own environment, preventing dependency conflicts:
This creates separate environments:
Isolation means removing one tool never breaks another, unlike traditional package managers.

Installing Tools Together

Tools with Dependencies

Sometimes tools work better together. Install multiple tools in one environment:
This installs:
  • ipython (exposed to PATH)
  • numpy (available in ipython, not exposed)
  • matplotlib (available in ipython, not exposed)
Test it works:
Expected Output:

Data Science Environment

Create a complete data science environment:
This creates one environment with multiple exposed tools:

Managing Multiple Versions

Install Different Versions

Install multiple versions of the same tool:
Now you can use any version:

Custom Executable Names

Expose tools under custom names:
Now run bat as bird:

Installing from Source

From Local Directory

Install a package from local source:
The directory must contain a pixi.toml or pyproject.toml with package metadata:

From Git Repository

Install directly from a Git repository:
Install from a specific branch:

Multi-Output Packages

If a source has multiple outputs, specify which one:

Installing Multiple Tools

Install Several Tools at Once

Install multiple independent tools:
This creates separate environments for each:

Create a Development Environment

Install all your development tools together:

Platform-Specific Installation

Cross-Platform Tools

Install tools for a different platform:
The manifest shows the platform:

Shell Completions

Enable Completions

When you install tools via pixi global, completions are automatically installed to $PIXI_HOME/completions.
Add to ~/.bashrc:
Restart your shell or source the config file:
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:
This adds dependencies without auto-exposing their executables.

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
Find your manifest location:

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:
This:
  • Installs the application
  • Creates start menu entries (Windows/Linux)
  • Adds to Launchpad (macOS)
The manifest includes:

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

Use environments for related tools: Group tools that work together (like jupyter + numpy) in one environment.
Keep unrelated tools separate: Tools that don’t interact should be in separate environments to avoid conflicts.
Version your manifest: Commit your global manifest to a dotfiles repository for easy setup on new machines.
Use expose for multiple versions: Install different versions of tools using custom exposed names.

Troubleshooting

Tool Not Found

If a tool isn’t found after installation:
  1. Check if it was exposed:
  2. Verify your PATH includes Pixi’s bin directory:
  3. Restart your shell

Dependency Conflicts

If tools have conflicting dependencies, install them in separate environments:

Update All Tools

Update all globally installed tools:
Update a specific environment:

Next Steps