techbriel
techbriel
Techbriel.com
4 posts
Don't wanna be here? Send us removal request.
techbriel · 3 years ago
Text
How to add Google map api to your website & how to fix Google map api issues
youtube
0 notes
techbriel · 3 years ago
Video
youtube
How to install Angular CLI on windows globally - A step by Step Guide
0 notes
techbriel · 3 years ago
Text
youtube
0 notes
techbriel · 3 years ago
Text
How to Completely Delete/Uninstall Angular/Angular CLI Globally on a mac
Tumblr media
Are you having issues with your Angular set up on your Mac and thinking of uninstalling it completely?. There are some reasons why you would opt to completely remove or uninstall Angular from your mac. One of these reasons could be so that you can start afresh installation which saves you time and effort troubleshooting compatibility and version issues. In this article, we will be showing you how to completely delete/uninstall Angular and Angular CLI globally from your mac in a few short steps. We have added the video tutorials if you prefer to watch videos. https://youtu.be/W5oD8iqxVtg Step 1: Verify the current versions installed; We need to confirm that we have Angular installed on our mac computer and what versions we have installed for Node, Angular, NPM. To do this open your terminal and enter the following command Node -v (to check what version of Node you have installed on your computer) ng --version (to check what version of Angular is on your computer)
Tumblr media
how to check Angular version installed on a computer If you cannot run "ng" commands for any reason or you are getting ng: command not found errors or zsh command not found error. Click on this article to fix it. Step 2, Locate where Angular, node, npm is installed on your computer and remove it For you to be able to completely remove Angular you need to know where it's installed on your computer. It is usually and most likely installed in one or more of these three (3) locations - A. /usr/local/include In your terminal enter cd /usr/local/include. You will see node and in some cases, you will also see "npm", "ng" and "node_modules" to delete run the following command according to what you see in this directory ;
Tumblr media
screenshot of /usr/local/include sudo rm -R node sudo rm -R node_modules sudo rm -R npm sudo rm -R ng PS: when you use "sudo" to execute commands in a terminal, it will request that you enter your computer user password before it executes that command Let's move to the next installation directory - B. /lib In your terminal enter cd ../lib In my case, I can see "node_modules" but in your case, you might find "npm", "ng", "node_modules", "node" or nothing. If you don't see any of these no worries, we have one other location to look into.
Tumblr media
To delete the angular, node, npm, or node_module, run the following command depending on what you find in this directory sudo rm -R node sudo rm -R node_modules sudo rm -R npm sudo rm -R ng Let's now check the last directory - C. /bin In your terminal run cd ../bin You will see any or all of the following, "ng", "node", "npm", "node_module". To remove, run the following commands, depending on what you see in this directory.
Tumblr media
sudo rm -R node Sudo rm -R node_modules Sudo rm -R npm Sudo rm -R ng Congratulations, you have completely removed Angular/Angular CLI from your mac computer. To confirm that everything has been removed, run the following command in your terminal ng --version node -v You should see something like "env: node: No such file or directory" and zsh: command not found: node
Tumblr media
If you enjoyed this post, we’ll be very grateful if you’d help spread by sharing it to your friends using the share button. you can also get our latest updates by following us on facebook, twitter, linkedin and instagram. You can also subscribe to our youtube channel for more tutorials, programming tips and tricks and Tech review. Read the full article
1 note · View note