NPM
James Sessford • April 1, 2020
ubuntu remindersI was setting up a Rasperry Pi over the weekend and I'd forgotten how to set up NPM permissions so I don't have to use sudo to install global packages
mkdir ~/.npm-globalnpm config set prefix '~/.npm-global'
That's a relief - sudo npm'ing anything is a terrifying prospect!