# Installing Coder

A single CLI (`coder`) is used for both the Coder server and the client.

We support two release channels: mainline and stable - read the
[Releases](/docs/@v2.17.3/install/releases/) page to learn more about which best suits your team.

<OSTab items="[&#x22;Linux&#x22;, &#x22;macOS&#x22;, &#x22;Windows&#x22;]">
  <Tab value="Linux" id="linuxmacos">
    Our install script is the fastest way to install Coder on Linux/macOS:

    ```sh
    curl -L https://coder.com/install.sh | sh
    ```

    Refer to [GitHub releases](https://github.com/coder/coder/releases) for
    alternate installation methods (e.g. standalone binaries, system packages).
  </Tab>

  <Tab value="macOS">
    Our install script is the fastest way to install Coder on Linux/macOS:

    ```sh
    curl -L https://coder.com/install.sh | sh
    ```

    Refer to [GitHub releases](https://github.com/coder/coder/releases) for
    alternate installation methods (e.g. standalone binaries, system packages).
  </Tab>

  <Tab value="Windows" id="windows">
    > **Important:** If you plan to use the built-in PostgreSQL database, you will
    > need to ensure that the
    > [Visual C++ Runtime](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#latest-microsoft-visual-c-redistributable-version)
    > is installed.

    Use [GitHub releases](https://github.com/coder/coder/releases) to download the
    Windows installer (`.msi`) or standalone binary (`.exe`).

    ![Windows setup wizard](/docs/images/install/windows-installer.png)

    Alternatively, you can use the
    [`winget`](https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget)
    package manager to install Coder:

    ```powershell
    winget install Coder.Coder
    ```
  </Tab>
</OSTab>

To start the Coder server:

```sh
coder server
```

![Coder install](/docs/images/install/coder-setup.png)

To log in to an existing Coder deployment:

```sh
coder login https://coder.example.com
```

### Next up

* [Create your first template](/docs/@v2.17.3/tutorials/template-from-scratch/)
* [Control plane configuration](/docs/@v2.17.3/admin/setup/)
