Skip to main content

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 your PATH. 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.

uninstall

Remove one or more global environments and their exposed binaries.

add

Add packages to an existing global environment.

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.
If no environments are specified, all global environments are updated.

tree

Display the dependency tree for a global environment.

expose add

Expose additional binaries from a global environment on your PATH.
Mappings can be a binary name (e.g., 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 ~/.jnc/manifests/jnc-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.

Examples