If you installed nodejs with nvm (node version manager) and realised it isn’t available for every user use the following script.