From 37da9e0f61ffca9b929bd814685307853b81dc39 Mon Sep 17 00:00:00 2001 From: Shenhe <49131888+SuzunaMinami@users.noreply.github.com> Date: Wed, 24 Aug 2022 10:43:55 +0530 Subject: [PATCH] Changed the deprecated installation method (#3321) Altered the `npm` global installation command i.e. `npm i -g` and `npm install --global` to `npm i --location=global` and `npm install --location=global` respectively. Also added methods for installing using `yarn` and `pnpm` --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ebae3ad51..83f5d7261 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,18 @@ Google Cloud Storage** or create your own plugin. Install with npm: ```bash -npm install --global verdaccio@6-next +npm install --location=global verdaccio@6-next +``` +With `yarn` + +```bash +yarn global add verdaccio@6-next +``` + +With `pnpm` + +```bash +pnpm i -g verdaccio@6-next ``` or @@ -68,8 +79,8 @@ Furthermore, you can read the [**Debugging Guidelines**](https://github.com/verd You can develop your own [plugins](https://verdaccio.org/docs/plugins) with the [verdaccio generator](https://github.com/verdaccio/generator-verdaccio-plugin). Installing [Yeoman](https://yeoman.io/) is required. ``` -npm install -g yo -npm install -g generator-verdaccio-plugin +npm install --location=global yo +npm install --location=global generator-verdaccio-plugin ``` Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins. Share your plugins with the community.