![]() An alternative route is to launch the Go to Folder windows (Shift + Command + G), paste ~/Library/ into the dialog box, and click Go. This command will remove Xcode’s leftover files in the Developer folder. To do so, launch Terminal (go to Finder > Applications > Utilities > Terminal) and paste the following command.Įnter your Mac’s password and press Return. If your Mac doesn’t delete these files/folders after uninstalling Xcode, you should. You may also find support files in the ~/Library/Caches/ folder. The files of newer Xcode versions are usually consolidated in the ~/Library/Developer/ folder. Now, proceed to remove its residual files. That will immediately uninstall Xcode from your Mac. Right-click on the Xcode icon and select Move to Bin on the context menu. Launch Finder and click Applications on the right sidebar. The first step to uninstalling Xcode from your Mac (and deleting its residual files) is to move the app itself to the macOS Bin. Follow the steps below to uninstall Xcode and completely remove all its associated data-leftover files and components. However, some files may still be lurking behind. When you uninstall Xcode from your Mac, a bunch of these files will be deleted. That’s why you should use the mdfind command to locate the files before uninstalling Xcode. You may find extra Xcode files in directories not listed above on your Mac. Files and folders commonly associated with Xcode are listed below: Mind you, you shouldn't delete all directories displayed in the results. You can run the command again after uninstalling Xcode to find any leftover file. Take note of the directories and file paths in the results. Type or paste the command below into the Terminal console and press Return on your keyboard.ģ. Go to Finder > Applications > Utilities and double-click Terminal.Ģ. You can use the mdfind command in Terminal to locate all the files associated with the Xcode app. That’ll give you an idea of where to look when you need to delete Xcode’s leftover files after uninstalling the app. That will immediately uninstall Xcode from your Mac.īefore you proceed to uninstall Xcode, we recommend that you find where the app's files and components are located on your Mac. Note: Using this uninstall process for Windows will automatically remove Windows environment variables created by the original installation.First launch Finder and click Applications on the right sidebar. Uninstall using the command line by running the following command:.In Add/Remove Programs, select Go Programming Language, click Uninstall, then follow the prompts.įor removing Go with tools, you can also use the command line:.In Control Panel, double-click Add/Remove Programs.The simplest way to remove Go is via Add/Remove Programs in the Windows control panel: If you installed Go with the macOS package, remove the /etc/paths.d/go file. Under Linux and FreeBSD, edit /etc/profile or $HOME/.profile. Remove the Go bin directory from your PATH environment variable.You can remove Go from your system using the steps described in this topic. To uninstall a downloaded version, just remove the directory specified by its GOROOT environment variable and the goX.Y.Z binary. For example, run a command such as the following: When you have multiple versions installed, you can discover where each is installed, look at the version's GOROOT value. To run go commands with the newly-downloaded version, append the version number to the go command, as follows: The following example illustrates with version 1.10.7: To install additional Go versions, run the go install command, specifying the download location of the version you want to install. Note: To install using the method described here, you'll need to have git installed. For a list of versions you can install this way, see the download page. ![]() For example, you might want to test your code on multiple Go versions. ![]() You can install multiple Go versions on the same machine. Installing Go from source - How to check out the sources, build them on your own machine, and run them.Download and install - The simplest way to get installed and running.This topic describes how to install multiple versions of Go on the same machine, as well as how to uninstall Go.įor other content on installing, you might be interested in: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |