Created
March 26, 2020 20:33
-
-
Save deckameron/92b4b042403f1b8f4ca20a4495bcb29c to your computer and use it in GitHub Desktop.
How to completely uninstall Appcelerator Titanium on Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~/.appcelerator | |
rm -rf ~/.titanium | |
sudo npm uninstall -g titanium | |
sudo npm uninstall -g alloy | |
sudo npm uninstall -g acs | |
sudo npm uninstall -g appcelerator | |
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.node.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
# go to /usr/local/lib and delete any node and node_modules | |
cd /usr/local/lib | |
sudo rm -rf node* | |
# go to /usr/local/include and delete any node and node_modules directory | |
cd /usr/local/include | |
sudo rm -rf node* | |
# check your Home directory for any "local" or "lib" or "include" folders, and delete any "node" or "node_modules" from there | |
# go to /usr/local/bin and delete any node executable (I also, by the way, cleared here old simlinks I found) | |
cd /usr/local/bin | |
sudo rm -rf /usr/local/bin/npm | |
sudo rm -rf /usr/local/bin/node | |
ls -las | |
# you may need to do the additional instructions as well: | |
sudo rm -rf /usr/local/share/man/man1/node.1 | |
sudo rm -rf /usr/local/lib/dtrace/node.d | |
sudo rm -rf ~/.npm | |
# if you installed with brew install node, then run brew uninstall node in your terminal | |
brew uninstall node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks