docs/reference/cli/pixi/clean/index.md
Cleanup the environments
--8<-- "docs/reference/cli/pixi/clean_extender:description"
pixi clean [OPTIONS] [COMMAND]
| Command | Description |
|---|---|
cache | Clean the cache of your system which are touched by pixi |
--environment (-e) <ENVIRONMENT></a>
: The environment directory to remove--activation-cache</a>
: Only remove the activation cache--build</a>
: Only remove the pixi-build cache--workspaces-registry</a>
: Only remove disassociated workspace registries--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
--manifest-path (-m) <MANIFEST_PATH></a>
: The path to pixi.toml, pyproject.toml, or the workspace directory--workspace (-w) <WORKSPACE></a>
: Name of the workspaceCleanup the environments.
This command removes the information in the .pixi folder. You can specify the environment to remove with the --environment flag.
Use the cache subcommand to clean the cache.
--8<-- "docs/reference/cli/pixi/clean_extender:example"