Tag Archives: Uninstall

The simplest way to completely unload cygwin under Windows

Cygwin

[the statement] welcome to reprint, but please keep original article source: http://blog.csdn.net/yelangjueqi/article/details/45199209

This thing is difficult to install, uninstall the same trouble, all kinds of ways tried, but can not remove. After a lot of trial and error, I finally found the easiest way. Remember the setup.exe when you installed Cygwin?You can completely remove Cygwin with this thing! If you forget the setup. Exe this place where, can go to the website (https://cygwin.com/install.html) to download a setup. Exe.

Follow these steps to uninstall Cygwin completely.

Double-click to start setup.exe and follow these steps:

The next step

Next, browse to the local cygwin installation directory: D:\cygwin_again

The next step

Next, and this is an important step, click the cursor position to go to: Uninstall mode

Completely uninstall node and NPM on MAC

NVM is installed under ~/. NVM is not installed with the previous one. I am a little obsessive, so I want to uninstall the previous one
Homebrew installed

brew uninstall node
The official website downloads the PKG installation package
A command
sudo rm - rf/usr/local/{bin/{node, NPM}, lib/node_modules/NPM, lib/node, share/man/*/node. *}
It was installed in another way
Make a script, the need to delete the file, a shuttle all kill
It will be called: uninstallNode. sh

#!/bin/bash
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \
| while read i; do
  sudo rm /usr/local/${i}
done
sudo rm -rf /usr/local/lib/node \
     /usr/local/lib/node_modules \
     /var/db/receipts/org.nodejs.*

Modify file permissions chmod 777 uninstallnodejs.sh
is executed on the command line
When you're done deleting all that stuff, you're done deleting node.
but there are a lot of node-based installed software and command-line tools that need to be reinstalled, such as react-native, supervisor,pm2 etc
need to delete the files under /usr/local/bin, actually they are just soft connections, it's all under /usr/local/lib/node_modules/.
was removed in the previous step, but you can still find it by pressing the TAB key because these soft connections still exist