From 3293c9a281e2fa49f42c3257f7d7c7117ebc29fc Mon Sep 17 00:00:00 2001 From: Jean-Louis GUENEGO Date: Thu, 2 May 2024 11:53:48 +0200 Subject: [PATCH] Update install.md (#4611) * Update install.md replaced --location=global with -g * dev: replace all npm install --location with npm install -g --- README.md | 6 +++--- website/docs/install.md | 2 +- website/versioned_docs/version-5.x/install.md | 4 ++-- website/versioned_docs/version-6.x/install.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1f87c3b98..31abf4e82 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Google Cloud Storage** or create your own plugin. Install with npm: ```bash -npm install --location=global verdaccio@next +npm install -g verdaccio@next ``` With `yarn` @@ -79,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 --location=global yo -npm install --location=global generator-verdaccio-plugin +npm install -g yo +npm install -g generator-verdaccio-plugin ``` Learn more [here](https://verdaccio.org/docs/dev-plugins) how to develop plugins. Share your plugins with the community. diff --git a/website/docs/install.md b/website/docs/install.md index 3c790e024..ae24d238d 100644 --- a/website/docs/install.md +++ b/website/docs/install.md @@ -32,7 +32,7 @@ Learn the basics before getting started, how to install, where is the location o Using `npm` ```bash -npm install --location=global verdaccio@next-7 +npm install -g verdaccio@next-7 ``` or using `yarn@1.x` _classic_, diff --git a/website/versioned_docs/version-5.x/install.md b/website/versioned_docs/version-5.x/install.md index 21ee280af..ac043e3c0 100644 --- a/website/versioned_docs/version-5.x/install.md +++ b/website/versioned_docs/version-5.x/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 --location=global verdaccio +npm install -g 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 --location=global verdaccio@7-next +npm install -g verdaccio@7-next ``` or with the docker image diff --git a/website/versioned_docs/version-6.x/install.md b/website/versioned_docs/version-6.x/install.md index a9f953b99..be2fbe67b 100644 --- a/website/versioned_docs/version-6.x/install.md +++ b/website/versioned_docs/version-6.x/install.md @@ -32,7 +32,7 @@ Learn the basics before getting started, how to install, where is the location o Using `npm` ```bash -npm install --location=global verdaccio@latest-6 +npm install -g verdaccio@latest-6 ``` or using `yarn@1.x` _classic_,