Skip to content

Instantly share code, notes, and snippets.

@leftieFriele
Created October 26, 2014 10:13
Show Gist options
  • Save leftieFriele/8c683711e1e99ed3b206 to your computer and use it in GitHub Desktop.
Save leftieFriele/8c683711e1e99ed3b206 to your computer and use it in GitHub Desktop.
Offline NPM

This is just a small write up on how to make npm work while being offline.

Offline with your cache

Use the npm-offline module to setup a proxy with your local cache.

Easy switching between npmrc configs

npmrcs

NPM with cached artifacts

This was something I wasn't aware of, but there is a setting for using no registry.

--no-registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment