jnc global
Manages global package installations. Each package (or group of packages) is installed into its own isolated environment, and exposed binaries are placed on yourPATH. This is similar to tools like pipx or apt, but powered by the conda ecosystem.
Usage
Subcommands
install
Install one or more packages into new global environments.
| Option | Short | Description |
|---|---|---|
--channel | -c | Specify the channel to search for packages |
--platform | -p | Target platform (defaults to current) |
--environment | -e | Install into a named environment instead of using the package name |
--expose | Control which binaries are exposed on PATH |
uninstall
Remove one or more global environments and their exposed binaries.
add
Add packages to an existing global environment.
| Option | Short | Description |
|---|---|---|
--channel | -c | Specify the channel to search for packages |
--environment | -e | Target environment name |
--expose | Control which binaries are exposed on PATH |
remove
Remove packages from a global environment.
list
List all global environments and their exposed binaries.
sync
Synchronize installed global environments with the global manifest file. This installs missing environments and removes ones no longer in the manifest.
edit
Open the global manifest file in your default editor.
update
Update one or more global environments to the latest compatible versions.
| Option | Short | Description |
|---|---|---|
--channel | -c | Specify the channel to search for updates |
tree
Display the dependency tree for a global environment.
expose add
Expose additional binaries from a global environment on your PATH.
python3.12) or a rename mapping (e.g., py=python3.12).
expose remove
Remove exposed binaries from a global environment.
shortcut add
Create a shortcut command that runs a specific binary from a global environment.
shortcut remove
Remove a shortcut from a global environment.
Global Manifest
Global environments are tracked in~/.pixi/manifests/pixi-global.toml. You can edit this file directly with jnc global edit or share it across machines and run jnc global sync to replicate your setup.