Skip to content

Instantly share code, notes, and snippets.

@notdol
Created April 6, 2016 01:30
Show Gist options
  • Save notdol/0514820138736c8b18ca6f56ea6812fd to your computer and use it in GitHub Desktop.
Save notdol/0514820138736c8b18ca6f56ea6812fd to your computer and use it in GitHub Desktop.
Linux / OS X:
export npm_config_strict-ssl=false
npm install npm -g --ca=null
npm --version
unset npm_config_strict-ssl
Windows:
SETLOCAL
SET npm_config_strict-ssl=false
npm install npm -g --ca=null
npm --version
ENDLOCAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment