pixi workspace dependencies#
Commands to manage the [workspace.dependencies] table
Use this command group to manage the shared [workspace.dependencies] pool from the command line. Entries in this pool can be reused from dependency tables with { workspace = true }.
Usage#
Subcommands#
| Command | Description |
|---|---|
add |
Add dependencies to the [workspace.dependencies] table |
list |
List dependencies in the [workspace.dependencies] table |
remove |
Remove dependencies from the [workspace.dependencies] table |
Config Options#
-
--no-config- Don't read system or user-level configuration files. Project-local
<project>/.pixi/config.tomlis still loaded
env:PIXI_NO_CONFIG
default:false
-
--config-file <PATH>- Load configuration from this file instead of searching system and user-level paths. Project-local
<project>/.pixi/config.tomlis still merged on top
env:PIXI_CONFIG_FILE
Global Options#
-
--manifest-path (-m) <MANIFEST_PATH>- The path to
pixi.toml,pyproject.toml, or the workspace directory
-
--workspace (-w) <WORKSPACE>- Name of the workspace
Examples#
pixi workspace dependencies add numpy
pixi workspace dependencies add "numpy=1.*" boltons
pixi workspace dependencies add shared-lib --path packages/shared-lib
pixi workspace dependencies add shared-lib --git https://github.com/org/shared-lib --tag v1.2.3
pixi workspace dependencies list
pixi workspace dependencies remove numpy