Skip to content

pixi clean#

Clean up workspaces/environments/caches

Usage#

pixi clean [OPTIONS] [COMMAND]

Subcommands#

Command Description
cache Clean the cache of your system which are touched by pixi

Options#

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#

Description#

Clean up workspaces/environments/caches.

This command removes the information in the .pixi folder, i.e. the installed environments and caches. Use options to only remove selected parts.

Use the cache subcommand to clean the cache.