Skip to content

Commit a1cf4b9

Browse files
authored
Fix deb install instructions: ${VERSION}_foo (#5542)
The install instructions weren't copy-pastable: `$VERSION_foo` is the same as `${VERSION_foo}`, not `${VERSION}_foo`. ```sh $ VERSION=4.6.1 $ curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 9 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 $ echo curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb curl -fOL https://github.com/coder/code-server/releases/download/v4.6.1/code-server_.deb ```
1 parent 64822d0 commit a1cf4b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/install.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ code-server
154154
> upgrade or [build with npm](#npm).
155155
156156
```bash
157-
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb
158-
sudo dpkg -i code-server_$VERSION_amd64.deb
157+
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_${VERSION}_amd64.deb
158+
sudo dpkg -i code-server_${VERSION}_amd64.deb
159159
sudo systemctl enable --now code-server@$USER
160160
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
161161
```

0 commit comments

Comments
 (0)