0

Whenever I use npm, I get a big fat warning:

╭────────────────────────────────────────────────────────────────╮
│                                                                │
│      New major version of npm available! 6.14.11 → 7.12.1      │
│   Changelog: https://github.com/npm/cli/releases/tag/v7.12.1   │
│               Run npm install -g npm to update!                │
│                                                                │
╰────────────────────────────────────────────────────────────────╯

The current npm version is the one that came with my distibution (Kubuntu 20.10, will be updating to 21.04 soon).

Is it safe/advised to let npm update itself without using the apt package manager?

I have managed to (temporarily) destroy my nodejs/npm installs more than once in the past, so I'd rather be safe than sorry.

Zilk
  • 454

0 Answers0