Managing tools#

Day-to-day operations for keeping your global tools current and organized.

Update all tools#

conda global update

This re-solves every tool environment with the latest packages from its configured channels. Pinned tools are skipped.

To update a single tool:

conda global update -e ruff

Pin and unpin#

Pin a tool, update skips it, then unpin

Pin a tool to prevent conda global update from changing it:

conda global pin -e ruff

Pinned tools show a yes in the Pinned column of conda global list. To allow upgrades again:

conda global unpin -e ruff

Add and remove dependencies#

Add a package to an existing tool environment:

conda global add requests -e my-script

Remove one:

conda global remove requests -e my-script

Both operations re-solve the environment to ensure consistency.

Expose and hide binaries#

Expose an alias, use it, then hide it

Expose an additional binary from a tool environment:

conda global expose black=blackd -e black

This deploys a trampoline for blackd from the black environment, named black on PATH.

To remove it:

conda global hide black -e black

Run without installing#

Use conda global run to execute a tool from a temporary environment:

conda global run cowsay -- "hello from conda"

The environment is created, the command runs, and the environment is removed — nothing persists.

Inspect a tool#

View the dependency tree, add a package, see it grow

View the full dependency tree:

conda global tree -e gh

View all tools in table or JSON format:

conda global list
conda global list --json

Edit the manifest directly#

Open the manifest in your editor:

conda global edit

After editing, run conda global sync to reconcile the filesystem with your changes.