Back to Pixi

pixi clean

docs/reference/cli/pixi/clean/index.md

0.77.11.9 KB
Original Source
<!--- This file is autogenerated. Do not edit manually! -->

pixi clean

Cleanup the environments

--8<-- "docs/reference/cli/pixi/clean_extender:description"

Usage

pixi clean [OPTIONS] [COMMAND]

Subcommands

CommandDescription
cacheClean the cache of your system which are touched by pixi

Options

  • <a id="arg---environment" href="#arg---environment">--environment (-e) <ENVIRONMENT></a> : The environment directory to remove
  • <a id="arg---activation-cache" href="#arg---activation-cache">--activation-cache</a> : Only remove the activation cache
  • <a id="arg---build" href="#arg---build">--build</a> : Only remove the pixi-build cache
  • <a id="arg---workspaces-registry" href="#arg---workspaces-registry">--workspaces-registry</a> : Only remove disassociated workspace registries

Config Options

  • <a id="arg---no-config" href="#arg---no-config">--no-config</a> : Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loaded

env: PIXI_NO_CONFIG

default: false

  • <a id="arg---config-file" href="#arg---config-file">--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 top

env: PIXI_CONFIG_FILE

Global Options

  • <a id="arg---manifest-path" href="#arg---manifest-path">--manifest-path (-m) <MANIFEST_PATH></a> : The path to pixi.toml, pyproject.toml, or the workspace directory
  • <a id="arg---workspace" href="#arg---workspace">--workspace (-w) <WORKSPACE></a> : Name of the workspace

Description

Cleanup 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"