Global tool installation for conda — install CLI tools into isolated environments and make them available on PATH via trampolines
Project description
conda-global
Global tool installation for conda — install CLI tools into isolated environments and make them available on PATH via trampolines.
Overview
conda-global lets you install command-line tools (like gh, ruff, bat) into
isolated conda environments and expose them on your PATH without polluting any
project environment. It works like pipx for Python tools or pixi global for
the pixi ecosystem, but for the entire conda package ecosystem.
Quick start
# Install a tool
conda global install gh
# Use it from anywhere
gh --version
# List installed tools
conda global list
# Update all tools
conda global update
# Remove a tool
conda global uninstall -e gh
How it works
Each tool gets its own isolated conda environment. A small Rust trampoline
binary (provided by the conda-trampoline
package) acts as a launcher — it reads a JSON config, sets up the environment,
and launches the real binary with zero activation overhead.
All data lives under ~/.cg/ (%USERPROFILE%\.cg on Windows).
See the docs for details.
Installation
conda install -c conda-forge conda-global
Then add the bin directory to your PATH:
conda global ensurepath
Commands
| Command | Description |
|---|---|
conda global install <pkg> |
Install a tool into an isolated environment |
conda global uninstall -e <env> |
Remove a tool and its environment |
conda global add <pkg> -e <env> |
Add a dependency to an existing tool env |
conda global remove <pkg> -e <env> |
Remove a dependency from a tool env |
conda global list |
List installed tools |
conda global update [-e <env>] |
Update one or all tools |
conda global sync |
Reconcile filesystem with manifest |
conda global expose <name>=<bin> -e <env> |
Expose a binary on PATH |
conda global hide <name> -e <env> |
Remove a binary from PATH |
conda global run <pkg> [-- <args>] |
Run a tool without installing |
conda global tree -e <env> |
Show dependency tree |
conda global pin -e <env> |
Prevent upgrades |
conda global unpin -e <env> |
Allow upgrades |
conda global ensurepath |
Add bin directory to PATH |
conda global edit |
Edit global.toml |
A standalone cg alias is also available (cg install ruff, etc.).
License
BSD-3-Clause
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conda_global-0.1.1.tar.gz.
File metadata
- Download URL: conda_global-0.1.1.tar.gz
- Upload date:
- Size: 7.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d67e5367fd08b5f5a05b657621cf9dbd0bcab60ec3e76c983ba43b095fd6d70
|
|
| MD5 |
e6fb5af9c5e2178d503a59e689072635
|
|
| BLAKE2b-256 |
f79022a36fd8b15641e9abef31bf05a76ea6627c2469902a0db785293d0bcdbc
|
Provenance
The following attestation bundles were made for conda_global-0.1.1.tar.gz:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_global-0.1.1.tar.gz -
Subject digest:
1d67e5367fd08b5f5a05b657621cf9dbd0bcab60ec3e76c983ba43b095fd6d70 - Sigstore transparency entry: 1206669694
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@a4f4bd12fc6f143d7e19e304ecf88a723696258a -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a4f4bd12fc6f143d7e19e304ecf88a723696258a -
Trigger Event:
release
-
Statement type:
File details
Details for the file conda_global-0.1.1-py3-none-any.whl.
File metadata
- Download URL: conda_global-0.1.1-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0cf712d942c52fe7448d585cff7c171c6d373cdd99ea919c5695e49ff20ba7a
|
|
| MD5 |
6e498fe57631ed11ca05e0114589317c
|
|
| BLAKE2b-256 |
acfc0a55de40cc035606e7f10233fe401dea2acdae53b6c8d196dbbfc8a7cb86
|
Provenance
The following attestation bundles were made for conda_global-0.1.1-py3-none-any.whl:
Publisher:
release.yml on conda-incubator/conda-global
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_global-0.1.1-py3-none-any.whl -
Subject digest:
f0cf712d942c52fe7448d585cff7c171c6d373cdd99ea919c5695e49ff20ba7a - Sigstore transparency entry: 1206669738
- Sigstore integration time:
-
Permalink:
conda-incubator/conda-global@a4f4bd12fc6f143d7e19e304ecf88a723696258a -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/conda-incubator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a4f4bd12fc6f143d7e19e304ecf88a723696258a -
Trigger Event:
release
-
Statement type: