docs: clarify offline CLI installation instructions (#19914)

This commit is contained in:
Atif Ali
2025-09-22 19:26:06 +05:00
committed by GitHub
parent 1734dfd291
commit d2da8357cf
2 changed files with 2 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

+2 -4
View File
@@ -58,15 +58,13 @@ coder login https://coder.example.com
## Download the CLI from your deployment
> [!NOTE]
> Available in Coder 2.19 and newer.
> Available in Coder 2.19 and newer on macOS and Linux clients only.
Every Coder server hosts CLI binaries for all supported platforms. You can run a
script to download the appropriate CLI for your machine from your Coder
deployment.
```sh
curl -L https://coder.example.com/install.sh | sh
```
![Install Coder binary from your deplyment](../images/install/install_from_deployment.png)
This script works within air-gapped deployments and ensures that the version of
the CLI you have installed on your machine matches the version of the server.