﻿RunWisp is one Go binary. You list shell commands in `runwisp.toml`, and
RunWisp runs them on a schedule or keeps them running, and records the output
of every run. It runs on Linux, macOS, and WSL, on `x86_64` or `arm64`.

## 1. Install

#### Script

Detects your OS and CPU, downloads the matching release, checks its
SHA-256, and puts `runwisp` on your `PATH`.

```bash
curl -fsSL https://get.runwisp.com | sh
```

#### Homebrew

On macOS or Linux with [Homebrew](https://brew.sh):

```bash
brew install runwisp/tap/runwisp
```

`brew upgrade runwisp` picks up new releases.

#### apt / dnf

On Debian, Ubuntu, Fedora, or RHEL, install the package for your CPU
(`x64` or `arm64`):

```bash
# Debian, Ubuntu
curl -fLO https://github.com/runwisp/runwisp/releases/latest/download/runwisp-linux-x64.deb
sudo apt install ./runwisp-linux-x64.deb

# Fedora, RHEL
sudo dnf install https://github.com/runwisp/runwisp/releases/latest/download/runwisp-linux-x64.rpm
```

The package adds the RunWisp repository at `pkg.runwisp.com`, so
`apt upgrade` or `dnf upgrade` picks up new releases.

#### npm

The npm package pulls in the matching native binary as an optional
dependency when it's installed.

```bash
bunx runwisp              # try it without installing (or: npx runwisp)
bun add -g runwisp        # install globally (or: npm install -g runwisp)
```

#### tar.gz

Download `runwisp-{linux,darwin}-{x64,arm64}.tar.gz` from the
[releases page][releases]. `checksums-sha256.txt` next to it
has the checksums.

```bash
tar -xzf runwisp-linux-x64.tar.gz
sudo install -m 0755 runwisp /usr/local/bin/runwisp
```

[releases]: https://runwisp.com/releases/

#### Source

You need Go 1.27+ and Bun.

```bash
git clone https://github.com/runwisp/runwisp
cd runwisp
bun install
bun run build
```

The binary is at `apps/runwisp/runwisp`.

#### Docker

The container needs a password and two volumes. See
[Running in Docker](/getting-started/docker/).

To update later, run [`runwisp upgrade`](/reference/cli/#runwisp-upgrade).
It uses the same method you installed with.

## 2. Start RunWisp

Run `runwisp` in the directory where your config should live:

```bash
runwisp
```

If there is no `runwisp.toml` there, it asks before creating one:

```
No runwisp.toml at /home/user/myproject.
Create a starter with one example task? [Y/n]
```

Press <kbd>Enter</kbd>. RunWisp writes the file, starts the daemon, and opens
the [TUI](/getting-started/tui-tour/). Answer no and
nothing is written. If the machine has cron jobs, the same prompt offers to
read them instead; see [From cron](/coming-from/cron/).

The starter file has one task and two commented examples:

```toml title="runwisp.toml"
# runwisp.toml
# Docs: https://docs.runwisp.com/configuration/overview/

[tasks.hello]
description = "Example task. Trigger it from the TUI (press r) or the Web UI."
run = "echo hello from runwisp"

# Schedule a task with cron:
# [tasks.heartbeat]
# cron = "* * * * *"
# run  = "date"

# Long-running service (auto-restart, supports multiple instances):
# [services.worker]
# instances = 1
# run       = "node ./worker.js"
```

On a server with no terminal (Docker, systemd), use `runwisp daemon` instead:
it never prompts, and exits with an error if the config is missing. To start
RunWisp on boot, see [Autostart](/operations/autostart/).

## 3. Run the example task

All three ways use the same daemon and show up in the same run history.

#### TUI

Press <kbd>←</kbd> to focus the sidebar, move to `hello`, and press
<kbd>r</kbd>. The run opens and its output streams in live.

_Screenshot: TUI run detail view: header with task name, run ID, timestamp, duration, and status badge; line-numbered log output below._

Press <kbd>Esc</kbd> to go back to the sidebar. The
[TUI page](/getting-started/tui-tour/) lists the other keys.

#### Web UI

Open the Web UI (next step), click `hello` in the sidebar, click
**Run now**, and confirm **Run Now**. The output streams into the log pane.

#### CLI

```bash
runwisp run hello
```

Prints the output and exits with the task's exit code. See
[`runwisp run`](/reference/cli/#runwisp-run).

## 4. Open the Web UI

In the TUI, go to **Home** in the sidebar, select **Open Web UI**, and
press <kbd>Enter</kbd>. Your browser opens the dashboard, already logged in.

_Screenshot: TUI Home page: sidebar with task groups, right pane showing Open Web UI row, Web UI URL, masked password, and a recent-activity table._

The Home page also shows the Web UI address (`http://localhost:9477` by
default) and the generated password. Select the password and
press <kbd>Enter</kbd> to copy it, for logging in from another browser. To set your own password or turn
login off, see [Authentication](/operations/auth/).

_Screenshot: Web UI dashboard: sidebar with tasks and services, daemon header with sparklines, recent activity feed below._

:::tip[See it with history]
`runwisp demo` starts a throwaway instance with a sample config and hundreds
of past runs. Its data is deleted when the daemon stops (quit the TUI and
choose **Shut Down**).
:::
