Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

uninstall node js from mac

sudo rm -rf ~/.npm ~/.nvm ~/node_modules ~/.node-gyp ~/.npmrc ~/.node_repl_history
sudo rm -rf /usr/local/bin/npm /usr/local/bin/node-debug /usr/local/bin/node /usr/local/bin/node-gyp
sudo rm -rf /usr/local/share/man/man1/node* /usr/local/share/man/man1/npm*
sudo rm -rf /usr/local/include/node /usr/local/include/node_modules
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /usr/local/lib/dtrace/node.d
sudo rm -rf /opt/local/include/node /opt/local/bin/node /opt/local/lib/node
sudo rm -rf /usr/local/share/doc/node
sudo rm -rf /usr/local/share/systemtap/tapset/node.stp

brew uninstall node
brew doctor
brew cleanup --prune-prefix
Comment

uninstall node mac

$ brew uninstall --ignore-dependencies node  
$ brew uninstall --force node
Comment

Uninstall Node on MAC OS

cd /usr/local/include/
sudo rm -rf node
cd /usr/local/lib
sudo rm -rf node_modules
cd /usr/local/bin
sudo rm -rf node npm npx
Comment

PREVIOUS NEXT
Code Example
Shell :: clear history centos 
Shell :: tmux kill session 
Shell :: how to open running docker container 
Shell :: yarn archlinux 
Shell :: ngx translate install 
Shell :: install node red in widnows 
Shell :: install pylatex no dependency 
Shell :: brew install iterm2 
Shell :: how to check if postgres is installed 
Shell :: windows temp dir 
Shell :: alpine linux free port 
Shell :: permission denied while installing npm 
Shell :: how to find process running on port in ubuntu 
Shell :: list changed files git 
Shell :: start cronjob 
Shell :: aws credentials file location ubuntu 
Shell :: exit git log 
Shell :: linux create public key 
Shell :: check kernel version of debian 
Shell :: classic doom for linux ubuntu 
Shell :: mac of hide "upgrade now" 
Shell :: desktop trigger click bash shell ubuntu 
Shell :: pnpm install nextUI 
Shell :: install anydesk snap linux mint 
Shell :: fatal: the remote end hung up unexpectedly 
Shell :: cmd take ownership of folder 
Shell :: get ssh key mac 
Shell :: how to debug a specific pod when Replication controller is doing load balancing 
Shell :: github push master 
Shell :: bash ask for input 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =