coder/docs/install/binary.md

1.3 KiB

Coder publishes self-contained .zip and .tar.gz archives in GitHub releases. The archives bundle coder binary.

  1. Download the release archive appropriate for your operating system

  2. Unzip the folder you just downloaded, and move the coder executable to a location that's on your PATH

    # ex. macOS and Linux
    mv coder /usr/local/bin
    

    Windows users: see this guide for adding folders to PATH.

  3. Start a Coder server

    # Automatically sets up an external access URL on *.try.coder.app
    coder server
    
    # Requires a PostgreSQL instance and external access URL
    coder server --postgres-url <url> --access-url <url>
    

    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.

  4. Visit the Coder URL in the logs to set up your first account, or use the CLI.

Next steps