mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
Merge pull request #313 from arthurwolf/patch-1
Add go installation instructions
This commit is contained in:
commit
e030b87e4e
|
@ -2,6 +2,25 @@
|
|||
|
||||
Go to the Go official website to download the Go SDK <https://go.dev/dl/>.
|
||||
|
||||
An example installation looks like this:
|
||||
|
||||
```shell
|
||||
wget https://go.dev/dl/go1.17.4.linux-amd64.tar.gz
|
||||
sudo rm -rf /usr/local/go
|
||||
sudo tar -C /usr/local -xzf go1.17.4.linux-amd64.tar.gz
|
||||
```
|
||||
|
||||
Then edit your ~/.profile or ~/.bashrc to have this line at the end:
|
||||
|
||||
```shell
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
```
|
||||
|
||||
For the changes to be taken into action, you need to log in again, or run:
|
||||
|
||||
```shell
|
||||
source $HOME/.profile
|
||||
```
|
||||
|
||||
Make sure your `go` is successfully installed:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user