Skip to content

Instantly share code, notes, and snippets.

@ichux
Created September 30, 2025 16:27
Show Gist options
  • Select an option

  • Save ichux/039d7590748a2a74189076f824530747 to your computer and use it in GitHub Desktop.

Select an option

Save ichux/039d7590748a2a74189076f824530747 to your computer and use it in GitHub Desktop.
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=$HOME/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment