From f1527f5f20a7b61b0ec8fd55280eae2e1e482564 Mon Sep 17 00:00:00 2001 From: Shenhe <49131888+SuzunaMinami@users.noreply.github.com> Date: Sat, 27 Aug 2022 12:50:09 +0530 Subject: [PATCH] docs: changed the deprecated installation method (#3323) * Changed the deprecated installation method 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` * Changed the deprecated installation method for `npm` Changed the installation flag from `--global` and `-g` to `--location=global` for `npm` i.e. to `npm --location=global` Co-authored-by: Juan Picado --- website/docs/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/install.md b/website/docs/install.md index 86a51abd6..95afa1b37 100644 --- a/website/docs/install.md +++ b/website/docs/install.md @@ -34,7 +34,7 @@ Learn the basics before getting started, how to install, where is the location o Using `npm` ```bash -npm install -g verdaccio +npm install --location=global verdaccio ``` or using `yarn` @@ -56,7 +56,7 @@ pnpm install -g verdaccio Next [major release is under development](https://github.com/verdaccio/verdaccio/discussions/2970), byt can try it out already, either for testing purposes or helping to catch any possible bug, if you find something report it under the label [6.x bugs](https://github.com/verdaccio/verdaccio/labels/6.x%20bugs). ```bash -npm install --global verdaccio@6-next +npm install --location=global verdaccio@6-next ``` or with the docker image