Skip to content

Commit b8a1585

Browse files
authored
docs: add installation instructions for all binaries (GoogleCloudPlatform#19)
1 parent bc56066 commit b8a1585

File tree

1 file changed

+101
-7
lines changed

1 file changed

+101
-7
lines changed

README.md

Lines changed: 101 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,113 @@ have access to it).
1313

1414
## Installation
1515

16-
For 64-bit Linux, run:
16+
Check for the latest version on the [releases page][releases] and use the
17+
following instructions for your OS and CPU architecture.
1718

19+
<details>
20+
<summary>Linux amd64</summary>
21+
22+
``` sh
23+
# see Releases for other versions
24+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
25+
26+
wget "$URL/alloydb-auth-proxy.linux.amd64" -O alloydb-auth-proxy
27+
28+
chmod +x alloydb-auth-proxy
29+
```
30+
</details>
31+
32+
<details>
33+
<summary>Linux 386</summary>
34+
35+
``` sh
36+
# see Releases for other versions
37+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
38+
39+
wget "$URL/alloydb-auth-proxy.linux.386" -O alloydb-auth-proxy
40+
41+
chmod +x alloydb-auth-proxy
42+
```
43+
</details>
44+
45+
<details>
46+
<summary>Linux arm64</summary>
47+
48+
``` sh
49+
# see Releases for other versions
50+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
51+
52+
wget "$URL/alloydb-auth-proxy.linux.arm64" -O alloydb-auth-proxy
53+
54+
chmod +x alloydb-auth-proxy
55+
```
56+
</details>
57+
58+
<details>
59+
<summary>Linux arm</summary>
60+
61+
``` sh
62+
# see Releases for other versions
63+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
64+
65+
wget "$URL/alloydb-auth-proxy.linux.arm" -O alloydb-auth-proxy
66+
67+
chmod +x alloydb-auth-proxy
1868
```
19-
URL="https://storage.googleapis.com/alloydb-auth-proxy"
20-
VERSION=v0.1.0 # see Releases for other versions
69+
</details>
70+
71+
<details>
72+
<summary>Mac (Intel)</summary>
73+
74+
``` sh
75+
# see Releases for other versions
76+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
77+
78+
wget "$URL/alloydb-auth-proxy.darwin.amd64" -O alloydb-auth-proxy
79+
80+
chmod +x alloydb-auth-proxy
81+
```
82+
</details>
83+
84+
<details>
85+
<summary>Mac (Apple Silicon)</summary>
86+
87+
``` sh
88+
# see Releases for other versions
89+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
90+
91+
wget "$URL/alloydb-auth-proxy.darwin.arm64" -O alloydb-auth-proxy
92+
93+
chmod +x alloydb-auth-proxy
94+
```
95+
</details>
96+
97+
<details>
98+
<summary>Windows x64</summary>
99+
100+
``` sh
101+
# see Releases for other versions
102+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
103+
104+
wget "$URL/alloydb-auth-proxy.windows.x64.exe" -O alloydb-auth-proxy.exe
105+
106+
chmod +x alloydb-auth-proxy.exe
107+
```
108+
</details>
109+
110+
<details>
111+
<summary>Windows x86</summary>
112+
113+
``` sh
114+
# see Releases for other versions
115+
URL="https://storage.googleapis.com/alloydb-auth-proxy/v0.1.0"
21116

22-
wget "$URL/$VERSION/alloydb-auth-proxy.linux.amd64" -O alloydb-auth-proxy
117+
wget "$URL/alloydb-auth-proxy.windows.x86.exe" -O alloydb-auth-proxy.exe
23118

24-
chmod +x cloud_sql_proxy
119+
chmod +x alloydb-auth-proxy.exe
25120
```
121+
</details>
26122

27-
Releases for additional OS's and architectures and be found on the [releases
28-
page][releases].
29123

30124
### Container Images
31125

0 commit comments

Comments
 (0)