check all globally installed npm packages with volta

1.1k Views Asked by At

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?

1

There are 1 best solutions below

2
On

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