This will remove the package if you have it installed globally. If it is installed as locally inside a project, it won’t.
If I run
% npm uninstall -g netlify-cli
I then get
removed 1361 packages, and audited 1 package in 2s
found 0 vulnerabilities
Then when I run netlify
I get
% netlify
zsh: command not found: netlify
Then I run
npm i -g netlify-cli
and it is installed again (globally)
And yes, I see
added 1348 packages, and audited 1349 packages in 14s
110 packages are looking for funding
run `npm fund` for details
17 vulnerabilities (9 moderate, 8 high)
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
in the terminal.