Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 546 Bytes

File metadata and controls

18 lines (11 loc) · 546 Bytes

NPM

default install path

/usr/local/lib/node_modules/npm/bin

Cache bust

npm cache clean --force to clean out unnecessary copies of older package versions. NPM claims that it manages everything properly but they obviously never migrated multiple projects from a public repo to a private repo.

Adding a repo

npm config set registry => introduce new registry to npm

npm adduser => add a new user for the new registry

"publishConfig": { "registry": "" }, =>. add to your package.jsons so NPM knows