Skip to content

docs: document local install.sh script #16125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor tweaks
  • Loading branch information
aslilac committed Jan 21, 2025
commit 46be3608332546930814b1785aed6a63a37664cd
13 changes: 6 additions & 7 deletions docs/install/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,18 @@ Available in Coder 2.19 and newer.

</blockquote>

Every Coder deployment contains a script and binaries to install the Coder
deployment-specific CLI on all supported platforms.

Use the following `curl` command to run the script from your Coder deployment:
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
```

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.
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.

You can include this script in templates to install a matching CLI within user workspaces.
This script can be useful when authoring a template for installing the CLI.

### Next up

Expand Down
Loading