To completely uninstall Node JS from MacOS, you need to remove this node folder. If you enter the ls command, you will see the node folder inside the include folder. Now, enter into the include folder by entering the following command: cd include Then, enter into the local directory by entering the following command: cd local Next, go to your root directory by entering the following command: cd / Step 3: Go to Node JS DirectoryĪfter going to the root directory, enter the following command to go to the usr directory: cd usr This command will display the current directory in which you are working. Once the terminal is open, enter the following command to know your current directory: pwd You can do this by searching for “Terminal” in the Launchpad or by pressing the Command+Space keys and typing “Terminal”. To begin the uninstallation process, open the terminal on your MacOS device. Step 2: Open Terminal and Go to Root Directory This command will display the version of Node JS installed on your device. To check the Node JS version, open the terminal and enter the following command: node -v By following these steps, you can easily remove Node JS and NPM from your device and free up space on your system.īefore proceeding with the uninstallation process, you need to check the version of Node JS installed on your device. In this article, I will guide you through a step-by-step process of how to uninstall Node JS and NPM from MacOS using the terminal. Are you facing any issues while running the Node JS or Node Package Manager (NPM) on your MacOS device? Do you want to completely uninstall Node JS and NPM from your MacOS device? If yes, then you have come to the right place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |