@@ -8,15 +8,15 @@ examples for common shells.
8
8
9
9
bash:
10
10
11
- ` eval "$(gvm 1.18.5 )" `
11
+ ` eval "$(gvm 1.21.0 )" `
12
12
13
13
cmd.exe (for batch scripts ` %i ` should be substituted with ` %%i ` ):
14
14
15
- ` FOR /f "tokens=*" %i IN ('"gvm.exe" 1.18.5 ') DO %i `
15
+ ` FOR /f "tokens=*" %i IN ('"gvm.exe" 1.21.0 ') DO %i `
16
16
17
17
powershell:
18
18
19
- ` gvm --format=powershell 1.18.5 | Invoke-Expression `
19
+ ` gvm --format=powershell 1.21.0 | Invoke-Expression `
20
20
21
21
gvm flags can be set via environment variables by setting ` GVM_<flag> ` . For
22
22
example ` --http-timeout ` can be set via ` GVM_HTTP_TIMEOUT=10m ` .
@@ -34,35 +34,45 @@ Linux (amd64):
34
34
35
35
``` bash
36
36
# Linux Example (assumes ~/bin is in PATH).
37
- curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0 /gvm-linux-amd64
37
+ curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.1 /gvm-linux-amd64
38
38
chmod +x ~ /bin/gvm
39
- eval " $( gvm 1.18.5) "
39
+ eval " $( gvm 1.21.0) "
40
+ go version
41
+ ```
42
+
43
+ Linux (arm64):
44
+
45
+ ``` bash
46
+ # Linux Example (assumes ~/bin is in PATH).
47
+ curl -sL -o ~ /bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.1/gvm-linux-arm64
48
+ chmod +x ~ /bin/gvm
49
+ eval " $( gvm 1.21.0) "
40
50
go version
41
51
```
42
52
43
53
macOS (universal):
44
54
45
55
``` bash
46
56
# macOS Example
47
- curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.0 /gvm-darwin-all
57
+ curl -sL -o /usr/local/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.5.1 /gvm-darwin-all
48
58
chmod +x /usr/local/bin/gvm
49
- eval " $( gvm 1.18.5 ) "
59
+ eval " $( gvm 1.21.0 ) "
50
60
go version
51
61
```
52
62
53
63
Windows (PowerShell):
54
64
55
65
```
56
66
[Net.ServicePointManager]::SecurityProtocol = "tls12"
57
- Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.5.0 /gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
58
- gvm --format=powershell 1.18.5 | Invoke-Expression
67
+ Invoke-WebRequest -URI https://github.com/andrewkroh/gvm/releases/download/v0.5.1 /gvm-windows-amd64.exe -Outfile C:\Windows\System32\gvm.exe
68
+ gvm --format=powershell 1.21.0 | Invoke-Expression
59
69
go version
60
70
```
61
71
62
72
Fish Shell:
63
73
64
- Use ` gvm ` with fish shell by executing ` gvm 1.18.5 | source ` in lieu of using ` eval ` .
74
+ Use ` gvm ` with fish shell by executing ` gvm 1.21.0 | source ` in lieu of using ` eval ` .
65
75
66
76
For existing Go users:
67
77
68
- ` go install github.com/andrewkroh/gvm/cmd/gvm@v0.5.0 `
78
+ ` go install github.com/andrewkroh/gvm/cmd/gvm@v0.5.1 `
0 commit comments