steckerhalter ๐Ÿ‡จ๐Ÿ‡ญ ๐Ÿฅ โ˜• is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
steckerhalter ๐Ÿ‡จ๐Ÿ‡ญ ๐Ÿฅ โ˜• @steckerhalter

since you never know if the next package will shred your system, you'd better not use -g to install stuff

so

$ npm install -g qrcode-terminal

becomes

$ npm install qrcode-terminal

and add this to ~/.profile

if [ -d "$HOME/node_modules/.bin" ] ; then
PATH="$HOME/node_modules/.bin:$PATH"
fi

ยท Web ยท 0 ยท 2