pixi global uninstall instead.
Usage
pixi g remove, pixi g rm
Arguments
string
required
Package(s) to remove from the environment.Multiple packages can be specified.
Options
string
required
The environment from which dependencies should be removed.
Examples
Remove a package from an environment
Remove multiple packages
How It Works
- Removes the package from the environment’s manifest
- Removes exposed executables that belong to the package
- Syncs the environment to reflect the changes
- Updates shortcuts if applicable
The
--environment flag is required. If you want to remove the entire environment, use pixi global uninstall instead.Use Cases
Clean Up Dependencies
Remove packages you no longer need:Remove Additional Dependencies
If you installed packages with--with, you can remove them:
What Gets Removed
- The package entry from the environment’s manifest
- Exposed executables from that package
- The package and its unique dependencies from the environment
What Doesn’t Get Removed
- Shared dependencies (used by other packages in the environment)
- The environment itself (use
pixi global uninstallfor that)