diff --git a/pages/common/npm-install.md b/pages/common/npm-install.md index 09b1706489..ad10a48bdd 100644 --- a/pages/common/npm-install.md +++ b/pages/common/npm-install.md @@ -15,6 +15,6 @@ `npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}` -- Download the latest version of a package and install it globally: +- Download the latest version of a package and install it globally (set install location with `npm config set prefix`): `npm {{[i|install]}} {{package_name}} {{[-g|--global]}}` diff --git a/pages/common/npm.md b/pages/common/npm.md index 0800eb9038..f159959e0e 100644 --- a/pages/common/npm.md +++ b/pages/common/npm.md @@ -20,7 +20,7 @@ `npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}` -- Download the latest version of a package and install it globally: +- Download the latest version of a package and install it globally (set the install location with `npm config set prefix`): `npm {{[i|install]}} {{package_name}} {{[-g|--global]}}`