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