# Install

> Install tiko on Linux, macOS or Windows with one command or step by step.

tiko runs in Docker on your own machine or server. The installer does everything for you; the manual steps below are for when you want to see each step or the installer cannot help.

## One command

**Linux**

Open a terminal and run:

```bash
curl -fsSL https://tiko.run/install.sh | sh
```

**macOS**

Open Terminal and run:

```bash
curl -fsSL https://tiko.run/install.sh | sh
```

**Windows**

On Windows 10 or 11, open PowerShell and run:

```powershell
irm https://tiko.run/install.ps1 | iex
```

The installer:

1. Checks the machine: 64-bit Linux or macOS with at least 1 GB of memory (2 GB is better), or 64-bit Windows 10 version 2004 or later with at least 4 GB and virtualization turned on in the firmware. Either way, 2 GB of free disk and a free port.
2. Installs Docker if it is missing, after asking: Docker Engine from [get.docker.com](https://get.docker.com) on Linux, [Colima](https://github.com/abiosoft/colima) with Homebrew on macOS. On Windows it installs WSL 2 first if it is missing; Windows turns WSL on only while it starts, so the installer asks you to restart, then run the same line again. Then it installs [Docker Desktop](https://docs.docker.com/desktop/) with `winget` and starts it.
3. Creates the folder `~/tiko` (`/opt/tiko` when run as root on Linux, `%USERPROFILE%\tiko` on Windows) with a generated password and secret key in `.env`.
4. Asks whether to turn on one-click updates (no by default), see [Updates](https://docs.tiko.run/updates/).
5. Starts the latest release and prints the address, the username `admin` and the password. On Windows it also opens the browser.

On its first start Docker Desktop on Windows opens a few windows: press **Skip** on "Welcome to Docker" (tiko needs no Docker account), close "Welcome to Windows Subsystem for Linux", and answer the Windows Firewall question about "Docker Desktop Backend": **Allow** lets other devices on your network open tiko, **Cancel** keeps it on this computer.

> **Tip: Upgrade the same way**
>
> Run the same command again to upgrade: it keeps your boards, accounts and `.env`.

### Options

Options go after `sh -s --`, for example `curl -fsSL https://tiko.run/install.sh | sh -s -- --yes --port 8080`:

| Option | Environment variable | What it does |
|---|---|---|
| `--yes` | `TIKO_YES=1` | Agree to everything, ask nothing |
| `--dir DIR` | `TIKO_DIR` | Install into another folder |
| `--port PORT` | `TIKO_PORT` | Serve on another port instead of 3000 |
| `--version 2026.10.12` | `TIKO_VERSION` | Install a specific release |
| `--no-updater` | `TIKO_UPDATER=no` | No one-click updates; `TIKO_UPDATER=yes` turns them on without asking |

On Windows: `& ([scriptblock]::Create((irm https://tiko.run/install.ps1))) -Yes -Port 8080`, with `-Dir`, `-Version` and `-NoUpdater` as well, or the same environment variables.

## Step by step

### 1. Install Docker

Docker runs tiko in containers, so nothing else gets installed on your system.

**Linux**

On Ubuntu or Debian:

```bash
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER
```

Sign out and back in, so you can run `docker` without `sudo`. Other distributions: [Docker Engine install guide](https://docs.docker.com/engine/install/).

**macOS**

Pick one:

- [Docker Desktop for Mac](https://docs.docker.com/desktop/setup/install/mac-install/): download the version for your chip (Apple menu → About This Mac shows "Apple" or "Intel"), drag it to Applications, open it and wait until it says "Engine running".
- Colima, free and without a window, if you have [Homebrew](https://brew.sh):

  ```bash
  brew install colima docker docker-compose
  mkdir -p ~/.docker/cli-plugins
  ln -sfn "$(brew --prefix)/opt/docker-compose/bin/docker-compose" ~/.docker/cli-plugins/docker-compose
  colima start
```

**Windows**

1. Check that virtualization is on: open Task Manager → Performance → CPU and look for "Virtualization: Enabled". If it says Disabled, turn on Intel VT-x or AMD-V in your computer's BIOS or UEFI settings.
2. Download [Docker Desktop for Windows](https://docs.docker.com/desktop/setup/install/windows-install/) and run the installer. Keep "Use WSL 2 instead of Hyper-V" checked.
3. Restart the computer when the installer asks.
4. Open Docker Desktop from the Start menu, accept the terms and wait until the bottom left corner says "Engine running".

> **Note: Docker Desktop license**
>
> Docker Desktop is free for personal use, education and companies under 250 people and $10 million in revenue; larger companies need a paid plan. Docker Engine on Linux and Colima on macOS have no such limit.

Check it in a terminal (PowerShell on Windows):

```bash
docker run hello-world
docker compose version
```

The first command prints "Hello from Docker!", the second a version like `v2.x`.

### 2. Start tiko

**Linux**

```bash
mkdir -p ~/tiko && cd ~/tiko
curl -fsSL https://github.com/tiko-run/tiko/releases/latest/download/compose.release.yml -o compose.yaml
docker compose up -d
```

**macOS**

```bash
mkdir -p ~/tiko && cd ~/tiko
curl -fsSL https://github.com/tiko-run/tiko/releases/latest/download/compose.release.yml -o compose.yaml
docker compose up -d
```

**Windows**

In PowerShell:

```powershell
mkdir $HOME\tiko; cd $HOME\tiko
Invoke-WebRequest https://github.com/tiko-run/tiko/releases/latest/download/compose.release.yml -OutFile compose.yaml
docker compose up -d
```

The first start downloads about 130 MB.

### 3. Sign in

Open http://localhost:3000 and sign in as `admin`. The password is generated on the first start and printed once to the log. Read it in the tiko folder:

**Linux**

```bash
docker compose logs api | grep 'tiko password'
```

**macOS**

```bash
docker compose logs api | grep 'tiko password'
```

**Windows**

PowerShell has no `grep`:

```powershell
docker compose logs api | Select-String 'tiko password'
```

At the first sign-in tiko asks you to replace it. To pick your own from the start, put `TIKO_PASSWORD=...` into a file named `.env` next to `compose.yaml` before the first start; see [Configuration](https://docs.tiko.run/configuration/).

## Lost the password

Where the first password is kept depends on how you installed tiko. The examples use the default folder: `~/tiko`, `%USERPROFILE%\tiko` on Windows, or `/opt/tiko` when the installer ran as root on Linux.

**Installed with one command.** The password is the `TIKO_PASSWORD` line of the file `.env` in the tiko folder. The log does not have it.

- Windows: press `Win+R`, type `notepad %USERPROFILE%\tiko\.env` and press Enter. Or in PowerShell, from any folder: `Select-String TIKO_PASSWORD $HOME\tiko\.env`.
- Linux and macOS: `grep TIKO_PASSWORD ~/tiko/.env`, or `sudo grep TIKO_PASSWORD /opt/tiko/.env` when installed as root.

**Installed step by step.** If you put `TIKO_PASSWORD` into `.env` before the first start, it is that line of `.env`; read it with the commands above. Otherwise tiko generated the password and saved it to the file `data/password` in the tiko folder.

- Windows: press `Win+R`, type `notepad %USERPROFILE%\tiko\data\password` and press Enter. Or in PowerShell: `Get-Content $HOME\tiko\data\password`.
- Linux and macOS: `cat ~/tiko/data/password`, with `sudo` if it says "Permission denied".

**Changed it and forgot the new one.** `.env` keeps only the first password, and `data/password` is deleted once you set your own. Make a link that sets a new one. If you changed the username, put it in place of `admin`.

Windows, in PowerShell:

```powershell
cd $HOME\tiko
docker compose exec api python -m app.reset_password admin
```

Linux and macOS:

```bash
cd ~/tiko    # /opt/tiko when installed as root
docker compose exec api python -m app.reset_password admin
```

The command prints a line like `/?reset=...`. Add it to your tiko address, for example `http://localhost:3000/?reset=...`, and open it within 24 hours.

## Everyday commands

Run these in the tiko folder. A new terminal opens somewhere else, and PowerShell started as administrator opens in `C:\Windows\system32`, so go to the folder first:

- Linux and macOS: `cd ~/tiko` (`cd /opt/tiko` when installed as root);
- PowerShell: `cd $HOME\tiko`.

Installed into another folder and forgot which? `docker compose ls` shows the path of a running tiko under "CONFIG FILES".

| Task | Command |
|---|---|
| Stop | `docker compose down` |
| Start again | `docker compose up -d` |
| See logs | `docker compose logs -f` |
| Upgrade | **Update now** in About with one-click updates on; otherwise the one-line installer again. The folder's `compose.yaml` is pinned to its release, so `docker compose pull` alone fetches nothing new |
| Uninstall | `docker compose down -v`, which also deletes the boards, then delete the folder |

> **Caution: `down -v` deletes your boards**
>
> Your boards live in the Docker volume of the `db` service, and `docker compose down -v` deletes it. Back up first, as [Data and upgrades](https://docs.tiko.run/data-and-upgrades/) shows.

## When something goes wrong

| Symptom | Cause | Fix |
|---|---|---|
| "permission denied" on `/var/run/docker.sock` (Linux) | Your user is not in the `docker` group yet | Run `sudo usermod -aG docker $USER`, sign out and back in, or prefix commands with `sudo` |
| "port is already allocated", or the installer says the port is taken | Another program uses port 3000 | Use `--port 8080` with the installer, or set `TIKO_PORT=8080` in `.env`, then open http://localhost:8080 |
| "Cannot connect to the Docker daemon" | Docker is not running | Open Docker Desktop, run `colima start` on macOS, or `sudo systemctl start docker` on Linux |
| "no configuration file provided: not found" | The terminal is not in the tiko folder, so `docker compose` does not know which install you mean | Go there first: `cd ~/tiko`, `cd /opt/tiko` when installed as root, or `cd $HOME\tiko` in PowerShell |
| PowerShell does not recognize `grep` | Windows has no `grep` | Use `Select-String` in its place: `docker compose logs api \| Select-String 'tiko password'` |
| The password does not show up in the log | After the one-line installer it is in `.env`, not in the log | See [Lost the password](#lost-the-password) |
| WSL errors on Windows | WSL is missing or out of date | Run `wsl --update` in PowerShell as administrator and restart. Docker's [troubleshooting page](https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/) covers the rest. |
| The installer says tiko already runs from another folder | One machine runs one tiko | Stop the other with `docker compose down` in its folder, or upgrade it with `--dir` pointing there |
| Behind a corporate proxy | The installer follows `HTTPS_PROXY`; Docker needs its own settings | Set Docker's [proxy settings](https://docs.docker.com/engine/daemon/proxy/) |

Still stuck? Open an [issue](https://github.com/tiko-run/tiko/issues) with the installer's output.
