07-21-2023, 09:49 AM
As the other answers say, the best way is to do
npm list -g
However, if you have a large number of `npm` packages installed, the output of this command could be very long and a big pain to scroll up (sometimes it's not even possible to scroll that far back).
In this case, pipe the output to the `more` program, like this
npm list -g | more
npm list -g
However, if you have a large number of `npm` packages installed, the output of this command could be very long and a big pain to scroll up (sometimes it's not even possible to scroll that far back).
In this case, pipe the output to the `more` program, like this
npm list -g | more