diff --git a/content/get-started/index.md b/content/get-started/index.md index 602bea0902e6..9ba9f955ba7a 100644 --- a/content/get-started/index.md +++ b/content/get-started/index.md @@ -20,7 +20,7 @@ Create a demo directory to try out webpack. [Install webpack](/guides/installati ```bash mkdir webpack-demo && cd webpack-demo npm init -y -npm install --save-dev webpack@beta +npm install --save-dev webpack ./node_modules/.bin/webpack --help # Shows a list of valid cli commands .\node_modules\.bin\webpack --help # For windows users ``` diff --git a/content/guides/installation.md b/content/guides/installation.md index 98488a6f0ddf..a685b2d801b0 100644 --- a/content/guides/installation.md +++ b/content/guides/installation.md @@ -18,7 +18,7 @@ The next section tells you how to install webpack locally in a project. ### Local Installation ``` bash -npm install webpack@beta --save-dev +npm install webpack --save-dev npm install webpack@ --save-dev ``` @@ -41,7 +41,7 @@ T> To run the local installation of webpack you can access its bin version as `n W> Note that a global webpack installation is not a recommended practice. This locks you down to a specific version of webpack and might fail in projects that use a different version. ``` bash -npm install webpack@beta -g +npm install webpack -g ``` The `webpack` command is now available globally.