I was getting the following error every time I tried to run the npm command.
Download the latest tar.xz NodeJS file from https://nodejs.org/en/download/
#.#.# is the version you downloaded.
Verify installation using
My site is free of ads and trackers. Was this post helpful to you? Why not