Node

References that I gather as I start using node.

npm

Links related to npm.

The stack overflow question here gives indications on how to overcome the limitation to install npm globally.

The recipe is to use:

npm config set prefix '~/.local/'

mkdir -p ~/.local/bin

echo 'export PATH="$HOME/.local/bin/:$PATH"' >> ~/.zshrc

This is assuming that the machine/account is using zsh, otherwise change .zshrc for .bashrc or similar.