﻿# install --os

> Choose the operating system for the Dotenvx build

[dotenvx install](/docs/cli/install/)

```cli
$ dotenvx install --os
```

## Usage

Pass the target operating system, such as linux or darwin, to --os. For example, download a Linux build into a separate directory:

```console
$ dotenvx install --build default --os linux --directory ./build/linux
```

The default is your current operating system. When targeting another platform, --directory is required and must not overwrite the running executable.

Use [--arch](/docs/cli/install-arch/) to choose the architecture too. --os cannot be combined with --id, --add, or --remove.
