0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

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 <juanpicado19@gmail.com>
This commit is contained in:
Shenhe 2022-08-27 12:50:09 +05:30 committed by GitHub
parent a32a7e617e
commit f1527f5f20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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