Reputation: 17052
I want to check all installed npm packages globally with volta.
Before volta, I usually used npm-check-updates
with the command ncu --global
.
With volta, this does not work anymore.
What is the best way to check and update all packages installed globally with volta?
Upvotes: 1
Views: 1742
Reputation: 274
The idea of volta is to have the globally installed toolchains available for different projects ... which use different versions of the same tools. In every project, you can pin a specific version of a tool via volta pin
.
Then, depending on the project folder you are in, the "pinned" tool version is used when run from a command prompt, not the most current one. So it does not really make sense to install the newest tools globally.
More: https://docs.volta.sh/guide/understanding
Upvotes: 0