## Install Script
The easiest way to install Coder on Linux is to use our
[install script](https://github.com/coder/coder/blob/main/install.sh).
```shell
curl -fsSL https://coder.com/install.sh | sh
```
You can preview what occurs during the install process:
```shell
curl -fsSL https://coder.com/install.sh | sh -s -- --dry-run
```
You can modify the installation process by including flags. Run the help command
for reference:
```shell
curl -fsSL https://coder.com/install.sh | sh -s -- --help
```
## Homebrew
To install Coder on Linux, you can use the [Homebrew](https://brew.sh/) package
manager that uses our official
[Homebrew tap](https://github.com/coder/homebrew-coder).
```shell
brew install coder/coder/coder
```
## System Packages
Coder officially maintains packages for the following Linux distributions:
- .deb (Debian, Ubuntu)
- .rpm (Fedora, CentOS, RHEL, SUSE)
- .apk (Alpine)
## Debian, Ubuntu
For Debian and Ubuntu, get the latest `.deb` package from our
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
manually or use the following commands to download and install the latest `.deb`
package.
```shell
# Install the package
sudo apt install ./coder.deb
```
## RPM Linux
For Fedora, CentOS, RHEL, SUSE, get the latest `.rpm` package from our
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
manually or use the following commands to download and install the latest `.rpm`
package.
```shell
# Install the package
sudo yum install ./coder.rpm
```
## Alpine
Get the latest `.apk` package from our
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
manually or use the following commands to download and install the latest `.apk`
package.
```shell
# Install the package
sudo apk add ./coder.apk
```
## Manual
Get the latest `.tar.gz` package from our
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
manually.
1. Download the
[release archive](https://github.com/coder/coder/releases/latest) 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`
```shell
mv coder /usr/local/bin
```
## Homebrew
To install Coder on macOS, you can use the [Homebrew](https://brew.sh/) package
manager that uses our official
[Homebrew tap](https://github.com/coder/homebrew-coder).
```shell
brew install coder/coder/coder
```
## Install Script
The easiest way to install Coder on macOS is to use our
[install script](https://github.com/coder/coder/blob/main/install.sh).
```shell
curl -fsSL https://coder.com/install.sh | sh
```
You can preview what occurs during the install process:
```shell
curl -fsSL https://coder.com/install.sh | sh -s -- --dry-run
```
You can modify the installation process by including flags. Run the help command
for reference:
```shell
curl -fsSL https://coder.com/install.sh | sh -s -- --help
```
## Winget
To install Coder on Windows, you can use the
[`winget`](https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget)
package manager.
```powershell
winget install Coder.Coder
```
## Installer
Download the Windows installer from our
[GitHub releases](https://github.com/coder/coder/releases/latest) and install
it.
## Manual
Get the latest `.zip` package from our GitHub releases page and extract it to a
location that's on your `PATH` or add the extracted binary to your `PATH`.
> 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`.