Skip to content

Instantly share code, notes, and snippets.

@rowleyaj
Created January 8, 2014 17:49
Show Gist options
  • Save rowleyaj/8321106 to your computer and use it in GitHub Desktop.
Save rowleyaj/8321106 to your computer and use it in GitHub Desktop.
NPM Proxy Cache

Setup an NPM Proxy Cache

See https://npmjs.org/package/npm-proxy-cache for more info

apt-get install node npm
npm install npm-proxy-cache -g
#do in screen/tmux or run as background process/service (ideally):
npm-proxy-cache -h 0.0.0.0 -p 14441 -t 604800 -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment