1 | initial version |
The suggested replacement for the deprecated --global
and --local
options in the npm WARN config global
message is to use the --global-style
and --save
options instead.
--global-style
installs packages into the node_modules
directory of the global npm
installation, making them accessible from anywhere.
--save
saves the package as a dependency in the package.json
file, allowing you to easily manage and reproduce your project's dependencies.