Installation

Install using a node version manager

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm --version

Then you can install the latest node version and update npm

nvm install node
node -v
npm install npm@latest -g
npm -v

Configuration

Command Description
npm config list list configuration
npm config list ls -l | grep strict-ssl list configuration including all default (and grep strict-ssl property)
npm config set strict-ssl false set a property
npm config set registry http://registry.npmjs.org/ set a property registry (defult is https)
npm config rm strict-ssl delete a property, its default value still applies