Skip to content

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#

pixi workspace dependencies [OPTIONS] <COMMAND>

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.toml is 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.toml is still merged on top
    env: PIXI_CONFIG_FILE

Global Options#

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