markdown NPM命令

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown NPM命令相关的知识,希望对你有一定的参考价值。

if having difficulties with EACCESS on a Mac, run:  
(you no longer need sudo declarative after this)
```
sudo chown -R USER_NAME /usr/local/lib/node_modules/
sudo chmod -R 775 /usr/local/lib/node_modules/
npm install -g phonegap
```

https://docs.npmjs.com/cli/access
```
  > npm -v                          shows installed version
  > npm list                        shows local installed packages
  > npm list -g                     shows global
  > npm install -g npm@lts          upgrade to the most recent LTS release (*nix only)
  > npm i npm@latest -g             upgrade to latest
  > npm i -g npm                    upgrade to latest
  > npm install                     installs node modules nside the project folder
```
access
adduser
audit
bin
bugs
build
bundle
cache
ci
completion
config
dedupe
deprecate
dist-tag
docs
doctor
edit
explore
help
help-search
hook
init
install
install-ci-test
install-test
link
logout
ls
npm
outdated
owner
pack
ping
prefix
profile
prune
publish
rebuild
repo
restart
root
run-script
search
shrinkwrap
star
stars
start
stop
team
test
token
uninstall
unpublish
update
version
view
whoami

以上是关于markdown NPM命令的主要内容,如果未能解决你的问题,请参考以下文章

markdown npm命令

markdown npm命令

markdown NPM命令

markdown 有用的npm命令和技巧

markdown NPM脚本命令在课程的各个阶段

markdown Powershell无法识别与NPM全局包相关的命令