Skip to content

Pixi global uninstall should not early out on non existent environment. #4562

@ruben-arts

Description

@ruben-arts

When running the uninstall of a long list of items I don't want Pixi to half execute my command. e.g.

pixi global uninstall git gh nvim ipython btop bat ripgrep
✔ Removed environment git.                                                                      
✔ Removed environment gh.                                                                       
✔ Removed environment nvim.                                                                     
Error:   × Couldn't remove ipython
  ╰─▶ Environment ipython doesn't exist.

Half of my environments are now gone, so it takes me effort to rewrite the command correctly.
I would like Pixi to continue the uninstallation and then print an error about the missing environments.

Metadata

Metadata

Assignees

Labels

UXRelated to the User Experience of pixiarea:globalRelated to pixi global

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions