Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global upgrade and global upgrade-all command #613

Closed
trueleo opened this issue Jan 4, 2024 · 1 comment · Fixed by #614
Closed

Add global upgrade and global upgrade-all command #613

trueleo opened this issue Jan 4, 2024 · 1 comment · Fixed by #614
Labels
✨ enhancement Feature request

Comments

@trueleo
Copy link
Contributor

trueleo commented Jan 4, 2024

Problem description

Description

Pixi currently provides global install to install binary packages globally. However there is no upgrade subcommand to upgrade packages.

There is an existing issue where people have commented about wanting this feature.

Note / Ideas

  • pixi global install can be used to upgrade a single package. So maybe upgrade subcommand can just be alias/proxy to install command.
@ruben-arts
Copy link
Contributor

ruben-arts commented Jan 5, 2024

Perhaps we could move even more into an fn globally_install_package or whatever the best name would be and the call that function in both the install and upgrade commands. Then we can keep the info for the user as you have done it now. Including the checking if the package is available (which I would indeed make an error).
Edit: this was meant for the PR #614

@wolfv wolfv closed this as completed in #614 Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants