How to uninstall angular CLI globally - 2022

How to uninstall angular CLI globally - 2022


How to uninstall angular CLI globally - 2022

Learn how to completely uninstall Angular / Angular cli globally on a mac computer in few easy steps

Commands and step by step guide on the link below*
https://techbriel.com/how-to-complete

Having ng: command not found issues? or ng serve issue? check out step by step guide on how to fix that here
https://techbriel.com/how-to-fix-ng-c

Subscribe to Techbriel here:
   / @techbriel  

Connect with us on social media
https://twitter.com/@techbriel
https://www.instagram.com/techbriel
https://www.linkedin.com/company/tech


Content

0.08 -> good morning good afternoon good  evening depending on your location  
4.96 -> welcome to today's tutorial my name is jonathan.  Today i'll be showing you guys how to uninstall  
11.12 -> angular node js npm from your mac computer.  Now there could be a whole lot of reasons why  
17.6 -> you want to uninstall one of those reasons could  be so it's been a long time you developed angular  
23.84 -> projects so your versions are probably a bit  old and now you have to build an angular project  
28.96 -> so you need or you trying to update the angular  versions or versions of your installations but  
34.4 -> you're having issues version compatibility and  all of those things usually the last resort is  
40.16 -> usually to uninstall and then reinstall again but  sometimes not straightforward to uninstall angular  
49.44 -> from your mac so in this video i'm going to  be showing you guys how to do that in very  
54.24 -> easy steps please don't forget to subscribe and  don't also forget to hit the notification bell  
60.96 -> leave us a comment it helps us also do better if  you have questions along the line also you can  
66.32 -> also leave us a comment so without further delays  let's get to it so on this particular mac computer  
73.84 -> i'm gonna just show you that i've got angular  installed so if i enter the angular version
81.68 -> oops oh okay okay that was wrong lol
89.36 -> okay so you can see that i've got angular  installed on this particular computer so  
95.04 -> but now i need to take it out to take it out we're  gonna check for one we're gonna check for ng we're  
100.8 -> gonna check for node npm and then we're gonna  check for them in three particular directories.  
106.8 -> Okay so let's start from the first direction  sorry i was typing into the other screen
122.4 -> okay so let's do "ls" so in this  particular directory you can see that  
129.28 -> i can find node in this particular directory  now in your own directory you might see  
137.28 -> in this particular directory you might see  more than that you might see npm you might  
141.6 -> see node modules depending on the version of your  installation okay but and I have seen this now  
148.8 -> i've seen node in this particular directory so  i'm gonna delete it so for me to delete I'll do
161.52 -> now when i do this it's going to ask for my  local computer password now if you're new to mac  
168.96 -> or terminal if you put in your password in  terminal you're not supposed to see what  
174.88 -> you're typing so you have to be careful so you  can get it right so if i run this command again  
180.56 -> you can see the node has been deleted so that's  the first directory but if i run ng version  
195.04 -> i still have my angular install now let's  go to the next directory next directory is
205.76 -> Okay so in this particular directory  
209.28 -> what we're looking for is npm, ng, node  module so here I can see node model here  
219.2 -> let's see if we can find something  else that that is in this directory
225.6 -> Okay so that's the only one i can find  so in your installation it's going to be  
233.04 -> so i'm going to delete this node models  so i wrote the same command again
254.48 -> now to confirm that it's  been removed now when i run
262.56 -> the ls command to view my directory I cannot find  it anymore so as usual uh we're gonna try to run  
270.96 -> command again, So if i do node -v version i still  have it so if i do ng version i still have it  
282.56 -> so then let's check in the next directory  the next direction we're going to get into is
291.44 -> ../bin
296.8 -> let's see what we can find here so  here we can find node we can find npm  
304.32 -> okay so i'm gonna take out  this one click on this one  
312.16 -> and then we're gonna rerun this command again okay  let's do that so if i still do the same command
322.88 -> that's sudo rm -R node and then do
328.56 -> and "rm" by the way means just remove
336.32 -> so i'm going to run ng version command again
343.28 -> it's no longer there and if i try
345.92 -> node it's no longer there which means i have  completely removed it so that is it guys how you  
357.6 -> can completely remove Angular globally if you want  to reinstall it there's a video in the description  
364.32 -> that iI made on how to install angular on your  my computer also if you like to follow through  
371.12 -> step by step, there is a link in the description  for that you can read and follow through step  
375.28 -> by step and see all the comments as well. If  you find value in this tutorial please don't  
380.16 -> forget to subscribe like hit the notification  bell so that you get our latest tutorials  
386.32 -> and please leave us a comment in the comment  section thank you so much for watching

Source: https://www.youtube.com/watch?v=W5oD8iqxVtg