docs/reference/cli/pixi/remove.md
Removes dependencies from the workspace
--8<-- "docs/reference/cli/pixi/remove_extender:description"
pixi remove [OPTIONS] <SPEC>...
<SPEC></a>
: The dependency as names, conda MatchSpecs or PyPi requirementsMay be provided more than once.
required: true
--pypi</a>
: The specified dependencies are pypi dependencies. Conflicts with host and build--platform (-p) <PLATFORM></a>
: The platform for which the dependency should be modified. Must be the name of a platform already defined in the workspaceMay be provided more than once.
--feature (-f) <FEATURE></a>
: The feature for which the dependency should be modifieddefault: default
--no-config</a>
: Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loadedenv: PIXI_NO_CONFIG
default: false
--config-file <PATH></a>
: Load configuration from this file instead of searching system and user-level paths. Project-local <project>/.pixi/config.toml is still merged on topenv: PIXI_CONFIG_FILE
--auth-file <AUTH_FILE></a>
: Path to the file containing the authentication token--concurrent-downloads <CONCURRENT_DOWNLOADS></a>
: Max concurrent network requests, default is 50--concurrent-solves <CONCURRENT_SOLVES></a>
: Max concurrent solves, default is the number of CPUs--pinning-strategy <PINNING_STRATEGY></a>
: Set pinning strategyoptions: semver, minor, major, latest-up, exact-version, no-pin
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER></a>
: Specifies whether to use the keyring to look up credentials for PyPIoptions: disabled, subprocess
--run-post-link-scripts</a>
: Run post-link scripts (insecure)--no-symbolic-links</a>
: Disallow symbolic links during package installationenv: PIXI_NO_SYMBOLIC_LINKS
--no-hard-links</a>
: Disallow hard links during package installationenv: PIXI_NO_HARD_LINKS
--no-ref-links</a>
: Disallow ref links (copy-on-write) during package installationenv: PIXI_NO_REF_LINKS
--tls-no-verify</a>
: Do not verify the TLS certificate of the server--tls-root-certs <TLS_ROOT_CERTS></a>
: Which TLS root certificates to use: 'webpki' (bundled Mozilla roots) or 'system' (system store)env: PIXI_TLS_ROOT_CERTS
--use-environment-activation-cache</a>
: Use environment activation cache (experimental)--git (-g) <GIT></a>
: The git url to use when adding a git dependency--branch <BRANCH></a>
: The git branch--tag <TAG></a>
: The git tag--rev <REV></a>
: The git revision--subdir (-s) <SUBDIR></a>
: The subdirectory of the git repository to use--no-install</a>
: Don't modify the environment, only modify the lock fileenv: PIXI_NO_INSTALL
--frozen</a>
: Install the environment as defined in the lock file, doesn't update lock file if it isn't up-to-date with the manifest fileenv: PIXI_FROZEN
--locked</a>
: Check if lock file is up-to-date before installing the environment, aborts when lock file isn't up-to-date with the manifest fileenv: PIXI_LOCKED
--manifest-path (-m) <MANIFEST_PATH></a>
: The path to pixi.toml, pyproject.toml, or the workspace directory--workspace (-w) <WORKSPACE></a>
: Name of the workspaceRemoves dependencies from the workspace.
If the workspace manifest is a pyproject.toml, removing a pypi dependency with the --pypi flag will remove it from either
the native pyproject project.dependencies array or, if a feature is specified, the native project.optional-dependencies table
pixi pypi-dependencies tables of the default feature or, if a feature is specified, a named feature
--8<-- "docs/reference/cli/pixi/remove_extender:example"