2023-08-23 12:27:57 +03:00
|
|
|
Coder publishes self-contained .zip and .tar.gz archives in
|
|
|
|
|
[GitHub releases](https://github.com/coder/coder/releases/latest). The archives
|
|
|
|
|
bundle `coder` binary.
|
2022-09-08 15:41:00 -04:00
|
|
|
|
2023-08-23 12:27:57 +03:00
|
|
|
1. Download the
|
|
|
|
|
[release archive](https://github.com/coder/coder/releases/latest) appropriate
|
|
|
|
|
for your operating system
|
2022-09-08 15:41:00 -04:00
|
|
|
|
2023-08-23 12:27:57 +03:00
|
|
|
1. Unzip the folder you just downloaded, and move the `coder` executable to a
|
|
|
|
|
location that's on your `PATH`
|
2022-09-08 15:41:00 -04:00
|
|
|
|
2023-02-01 17:05:45 -03:00
|
|
|
```console
|
2022-09-08 15:41:00 -04:00
|
|
|
# ex. macOS and Linux
|
|
|
|
|
mv coder /usr/local/bin
|
|
|
|
|
```
|
|
|
|
|
|
2023-08-23 12:27:57 +03:00
|
|
|
> Windows users: see
|
|
|
|
|
> [this guide](https://answers.microsoft.com/en-us/windows/forum/all/adding-path-variable/97300613-20cb-4d85-8d0e-cc9d3549ba23)
|
|
|
|
|
> for adding folders to `PATH`.
|
2022-09-08 15:41:00 -04:00
|
|
|
|
|
|
|
|
1. Start a Coder server
|
|
|
|
|
|
2023-02-01 17:05:45 -03:00
|
|
|
```console
|
2022-09-08 15:41:00 -04:00
|
|
|
# Automatically sets up an external access URL on *.try.coder.app
|
2022-10-07 08:05:56 -05:00
|
|
|
coder server
|
2022-09-08 15:41:00 -04:00
|
|
|
|
2022-10-17 19:24:49 -05:00
|
|
|
# Requires a PostgreSQL instance (version 13 or higher) and external access URL
|
2022-09-08 15:41:00 -04:00
|
|
|
coder server --postgres-url <url> --access-url <url>
|
|
|
|
|
```
|
|
|
|
|
|
2023-08-23 12:27:57 +03:00
|
|
|
> Set `CODER_ACCESS_URL` to the external URL that users and workspaces will
|
|
|
|
|
> use to connect to Coder. This is not required if you are using the tunnel.
|
|
|
|
|
> Learn more about Coder's [configuration options](../admin/configure.md).
|
2022-09-08 15:41:00 -04:00
|
|
|
|
|
|
|
|
1. Visit the Coder URL in the logs to set up your first account, or use the CLI.
|
|
|
|
|
|
|
|
|
|
## Next steps
|
|
|
|
|
|
|
|
|
|
- [Configuring Coder](../admin/configure.md)
|
2023-06-02 16:56:06 -04:00
|
|
|
- [Templates](../templates/index.md)
|