# Installation

> Learn how to install the Turso CLI on Mac, Linux and Windows.
> Canonical HTML: https://tursodb.cn/docs/cli/installation/
> Upstream Source (MIT): https://docs.turso.tech/cli/installation
> Language: en

---
## macOS

To install the Turso CLI on macOS, we recommend that you use Homebrew:

```bash
brew install tursodatabase/tap/turso
```

If you don't use Homebrew, you can use the following command to execute a shell script that installs the CLI:

```bash
curl -sSfL https://get.tur.so/install.sh | bash
```

## Linux

Run the following command to execute a shell script that installs the CLI:

```bash
curl -sSfL https://get.tur.so/install.sh | bash
```

## Windows

Installing the Turso CLI on Windows requires that you have [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) installed.

Once WSL is installed, run the following in PowerShell:

```bash
wsl
```

You can then execute the script to install the Turso CLI:

```bash
curl -sSfL https://get.tur.so/install.sh | bash
```

## Verify installation

You must open a new shell to verify the installation with the following command:

```bash
turso
```
