Skip to content

Instantly share code, notes, and snippets.

@5a494d
Created March 10, 2015 21:02
Show Gist options
  • Save 5a494d/be0d88d76452c2fb0398 to your computer and use it in GitHub Desktop.
Save 5a494d/be0d88d76452c2fb0398 to your computer and use it in GitHub Desktop.
npm-proxy.sh
#!/bin/bash
echo "Configurating proxy server"
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
echo "Done !"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment