From 45e787706981f52a0776863edd1c529395cff0d0 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Wed, 4 May 2016 10:31:01 +0530 Subject: [PATCH] Updated Readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2d9635..0a38ee4 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,10 @@ Supper simple NPM registry server for offline NPM install * Now the server will run on [http://localhost:8234](http://localhost:8234) * use `http://localhost:8234/` as registry while doing npm install - - Either use `npm install --registry http://localhost:8234/ [package-name]...` - - Or permanently set config variable `npm config set registry http://localhost:8234/` + - use command `npm-offline-install` instead of `npm install` if you need to install packages offline. This is just a wrapper cli which will run `npm i` with `--registry` option set + - Advanced usage + * Either use `npm install --registry http://localhost:8234/ [package-name]...` + * Or permanently set config variable `npm config set registry http://localhost:8234/` **NOTE:** *default port can be changed by setting `PORT` environment variable *