pixi#
The pixi command is the main entry point for the Pixi CLI.
Usage#
Subcommands#
| Command | Description |
|---|---|
add |
Add dependencies to the workspace |
auth |
Login to prefix.dev or anaconda.org servers to access private channels |
clean |
Clean up workspaces/environments/caches |
completion |
Generate a shell completion script |
config |
Manage configuration |
exec |
Run a command in a temporary environment |
global |
Manage globally-installed packages |
info |
Get information about the pixi installation and current workspace |
init |
Create a new workspace or script |
import |
Import a file into an environment in an existing workspace |
install |
Install an environment |
list |
List the packages of an environment |
lock |
Solve environments and update the lock file without installing the environments |
reinstall |
Re-install an environment |
publish |
Build the conda packages of a workspace and publish them |
remove |
Remove dependencies from a workspace |
run |
Run a task in an environment |
search |
Search for conda packages |
self-update |
Update pixi to the latest version or a specific version |
shell |
Start a shell in a pixi environment |
shell-hook |
Print a pixi environment activation script |
task |
Interact with tasks in a workspace |
tree |
Show a tree of workspace dependencies |
update |
Update dependencies to newer compatible versions |
upgrade |
Check if there are newer versions of the dependencies and upgrade them in the lock file and manifest file |
upload |
Upload conda packages to various channels |
workspace |
Modify the workspace configuration file |
Global Options#
-
--help (-h)- Display help information
-
--verbose (-v)- Increase logging verbosity (-v for warnings, -vv for info, -vvv for debug, -vvvv for trace)
-
--quiet (-q)- Decrease logging verbosity (quiet mode)
-
--color <COLOR>- Whether the log needs to be colored
env:PIXI_COLOR
default:auto
options:always,never,auto
-
--no-progress- Hide all progress bars, always turned on if stderr is not a terminal
env:PIXI_NO_PROGRESS
default:false
-
--list- List all installed commands (built-in and extensions)