you might be interested in: Download Go installation Select

you should check it's not an existing issue before creating a new one. ,。

click the Start menu. In the menu's search box, you might be interested in: Download Go installation Select the tab for your computer's operating system below, or inconsistencies in the Go project's code or documentation, creating a freshGo tree in /usr/local/go: $ rm -rf /usr/local/go tar -C /usr/local -xzf go1.14.3.linux-amd64.tar.gz (You may need to run each command separately with the necessary permissions, type the followingcommand: $ go version Confirm that the command prints the installed version of Go. You're all set! Visit the Getting Started tutorial to write some simple Go code. It takes about 10 minutes to complete. Report Issues If you spot bugs。

then press the Enter key. In the Command Prompt window that appears, Download and install Download and install Download and install Go quickly with the steps described here. For other content on installing, please let us know by filing a ticket on our issue tracker. Of course, then extract the archive you just downloaded into /usr/local。

mistakes。

you will need to close andreopen any open command prompts so that changes to the environmentmade by the installer are reflected at the command prompt. Verify that you've installed Go. In Windows 。

as root or through sudo.) Do not untar the archive into an existing /usr/local/go tree. This is known toproduce broken Go installations. Add /usr/local/go/bin to the PATH environment variable. You can do this by adding the following line to your $HOME/.profile or/etc/profile (for a system-wide installation): export PATH=$PATH:/usr/local/go/bin Note: Changes made to a profile file may not applyuntil the next time you log into your computer. To apply the changesimmediately, the installer will install Go to Program Filesor Program Files (x86). You can change thelocation as needed. After installing, just run the shell commands directly or execute them fromthe profile using a command such assource $HOME/.profile. Verify that you've installed Go by opening a command prompt and typingthe following command: $ go version Confirm that the command prints the installed version of Go. Open the package file you downloaded and follow the prompts to installGo. The package installs the Go distribution to /usr/local/go. The packageshould put the /usr/local/go/bin directory in yourPATH environment variable. You may need to restart anyopen Terminal sessions for the change to take effect. Verify that you've installed Go by opening a command prompt and typingthe following command: $ go version Confirm that the command prints the installed version of Go. Open the MSI file you downloaded and follow the prompts to install Go. By default。

then follow its installation instructions. Linux Mac Windows Remove any previous Go installation by deleting the /usr/local/go folder(if it exists), type cmd。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://acg.inmoke.com/zixun/Jk/6022.html