# Install

> Install the published dflow binary.

Web page: /docs/cli/setup/install/

This installs the `dflow` command from the public release. The script checks the download against its SHA-256 checksum, then writes `~/.local/bin/dflow`.

```bash
curl -fsSL https://github.com/dflow-sh/dflow/releases/latest/download/install.sh | sh
```

If your operating system is not one the script knows, it prints `unknown operating system:` and exits 1. It does not write a binary in that case.

On bash and zsh, the script adds `~/.local/bin` to your `PATH` when that directory is not already there. Open a new terminal, then run [dflow version](/docs/cli/setup/version). The script prints the path of the binary it wrote.
