Skip to main content

Global Tools

jnc can install tools globally in isolated environments, making them available from anywhere on your system. This is similar to tools like apt or pipx, but uses the conda ecosystem.

Installing tools

jnc global install gh ripgrep bat
Each tool gets its own isolated environment, so dependencies never conflict between tools.

Managing global tools

Add a package to an existing environment

jnc global add --environment gh gh-dash

List installed environments

jnc global list

Update all global environments

jnc global update

Remove a global tool

jnc global uninstall ripgrep

The global manifest

Global installations are tracked in a manifest file at ~/.pixi/manifests/pixi-global.toml. You can edit it directly:
jnc global edit
Or sync the installed environments to match the manifest:
jnc global sync
This makes it easy to share your global tool configuration across machines — just copy the manifest and run jnc global sync.

Exposed binaries

When you install a global tool, jnc automatically exposes the package’s binaries on your PATH via lightweight trampolines in ~/.pixi/bin/. You can manage which binaries are exposed:
jnc global expose add --environment python python3.12
jnc global expose remove --environment python python3.12

Shortcuts

Create shortcut commands for tools:
jnc global shortcut add --environment python py python3.12
jnc global shortcut remove --environment python py

Dependency tree

View the dependency tree of a global environment:
jnc global tree --environment gh