> ## Documentation Index
> Fetch the complete documentation index at: https://quintus.tec.br/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Install Quintus

> Install the desktop app and the quintus command on your computer or on a server with a single command.

A single command installs the desktop app and the `quintus` command, verifies the downloaded file, and ends on a welcome screen that shows the next steps. Running the same command again, or `quintus update`, updates to the latest version.

## On your computer

> [tab] macOS
>
> Open Terminal and run:
>
> ```bash theme={null}
> curl -fsSL https://app.quintus.tec.br/install.sh | bash
> ```
>
> The app is installed in `/Applications` and opens without the Gatekeeper prompt. The `quintus` command is created by `install-cli`, which prints the line to add to your `PATH` if needed. The installer asks for the administrator password only when `/Applications` is not writable for you.

> [tab] Windows
>
> Open PowerShell and run:
>
> ```powershell theme={null}
> irm https://app.quintus.tec.br/install.ps1 | iex
> ```
>
> The install is per user and does not ask for administrator permission. Open a new terminal afterwards so the `quintus` command appears on the `PATH`.

> [tab] Linux
>
> Open a terminal and run:
>
> ```bash theme={null}
> curl -fsSL https://app.quintus.tec.br/install.sh | bash
> ```
>
> It works on x64 Linux with `apt` (Ubuntu and Debian). The install is per user, in `~/.local/opt/quintus`, with the command in `~/.local/bin`. If `~/.local/bin` is not on your `PATH`, the installer's final screen shows the line to add to your shell profile.
>
> The installer asks for `sudo` only when something is missing from the system: libraries the app needs or, on Ubuntu 23.10 or later, an AppArmor profile that allows the sandbox of the embedded browser. Without `sudo`, it prints the one command an administrator must run and stops. This happens once; later updates ask for `sudo` again only if a new version needs a library that is missing.
>
> On a Linux without `apt`, the installer names the missing libraries and stops; install them with your system's package manager and run it again.
>
> Older installs under `/opt` (the `.deb` package) keep working and are updated with `apt`.

After installing, run `quintus` to open the app. In a terminal with no display, `quintus` prints the status and the help instead.

### Development channel

To install the "Quintus Dev" product (command `quintus-dev`) next to Quintus, pass the channel option. It never switches an existing install.

```bash theme={null}
curl -fsSL https://app.quintus.tec.br/install.sh | bash -s -- --channel dev
```

```powershell theme={null}
& ([scriptblock]::Create((irm https://app.quintus.tec.br/install.ps1))) -Channel dev
```

## Update

```bash theme={null}
quintus update
```

The command compares the installed version with the latest one of the channel and, when there is a newer one, downloads and runs the installer. On Windows the update continues in its own window, because the command must exit before the files are replaced. On macOS and Linux, if the desktop app is open, the installer asks you to quit it first.

A per-user Linux install updates without `sudo`, unless a new version needs a library that is missing. If the background service is on, the installer stops it before replacing the files and starts it afterwards. An older install under `/opt` (`.deb`) is updated with `apt` and needs `sudo`.

`quintus update` serves installs made by the command above on any system, the older `.deb` install under `/opt`, the Windows installer and the macOS app. The AppImage downloaded from the website is not served by it: that app updates itself, inside the app.

## On a server

A Linux server with no display becomes one more device of your Quintus account, and keeps local connectors (for example the filesystem connector) online.

**1. Install**

```bash theme={null}
curl -fsSL https://app.quintus.tec.br/install.sh | bash
```

**2. Log in**

```bash theme={null}
quintus login
```

The command prints a link and tries to open a browser. Open the link on any device, sign in, and paste the code the page shows back into the terminal. Use `quintus login --tenant <slug>` to log into a specific tenant.

If the machine has no system keyring, the session is stored in a file readable only by your user, and the command says so.

**3. Keep it running in the background**

```bash theme={null}
quintus service enable
```

### Connectors

```bash theme={null}
quintus connectors            # interactive list
quintus connectors connect <id>
quintus settings roots        # which folders local connectors may read
```

In scripts, pass parameters with `--params-file <file.json>`, never on the command line.

### Start at boot

`quintus service enable` explains what turning it on means and asks for confirmation (`--yes` skips the question). It then tries, in order:

1. **A system service that starts at boot**, `quintus@<user>.service`, installed with `sudo`. Only the older install under `/opt` (`.deb`) offers it.
2. **A user service with lingering that starts at boot**: the first option for the per-user install, and the next one for `/opt` when sudo is declined or unavailable. Enabling lingering usually needs admin authentication over SSH.
3. **A user service that starts when you log in**, when lingering is not allowed.

The output names the option applied. The service always runs as the user who enabled it. Enabling moves a session stored in the system keyring into the owner-only file, because a service has no keyring to unlock.

A machine without systemd gets an explanation instead; run `quintus run` under your own supervisor there.

### Everyday commands

| Command | What it does |
| - | - |
| `quintus status` | Account, tenant, device, session store, worker connection, connectors on this device, available update |
| `quintus service status [--json]` | Whether the service is enabled, which mode, whether it runs |
| `quintus service stop` / `start` | Stop cleanly (connector processes exit) / start again |
| `quintus service logs [-f]` | The last 50 log lines, and `-f` to keep following |
| `quintus service disable` | Stop starting in the background |
| `quintus update` | Update to the latest version |
| `quintus logout` | End the session on this machine |

`service stop` and `service logs -f` exit with code 4 when the service is not running. A user service also writes to your journal (`journalctl --user -u quintus`); the system service of an `/opt` install, to the system journal (`journalctl -u quintus@$USER`).

If the desktop app is opened on the same machine while the service runs, the app takes the connectors over and hands them back when it quits.

## Uninstall

Before removing, run `quintus service disable` and `quintus logout`. For the "Quintus Dev" product the same steps apply with the development names: `quintus-dev`, `Quintus Dev.app` and `~/.config/Quintus Dev`.

> [tab] macOS
>
> ```bash theme={null}
> rm -rf /Applications/Quintus.app
> rm -f /usr/local/bin/quintus ~/.local/bin/quintus
> ```
>
> The second line removes the command link the installer created, which sits in one of those two folders.

> [tab] Windows
>
> Uninstall Quintus from Settings, Apps. Uninstalling removes the command from the `PATH`.

> [tab] Linux
>
> ```bash theme={null}
> rm -rf ~/.local/opt/quintus ~/.local/bin/quintus
> rm -f ~/.local/share/applications/quintus.desktop ~/.local/share/icons/hicolor/*/apps/quintus.png
> ```
>
> If the installer created the AppArmor profile, remove it with `sudo` (`<uid>` is your user id, `id -u`):
>
> ```bash theme={null}
> sudo apparmor_parser -R /etc/apparmor.d/quintus-local-<uid>
> sudo rm /etc/apparmor.d/quintus-local-<uid>
> ```
>
> For an older install under `/opt`, use `sudo apt remove quintus`, which also removes the system service.

Your data stays in `~/.config/Quintus` on Linux; delete that folder to remove the session and settings.

## Troubleshooting

* **The installer stopped and printed a `sudo` command.** Libraries or the AppArmor profile are missing. Ask an administrator to run the exact command it printed, then run the installer again.
* **`quintus: command not found`.** The command folder is not on your `PATH`. On Linux and macOS add the line the final screen showed to your shell profile; on Windows open a new terminal.
* **The download does not match the SHA-256.** The installer changes nothing. Try again; if it persists, contact support.
* **`service enable` ends in the login-bound mode.** Lingering was refused. Ask an administrator to run `sudo loginctl enable-linger <user>` and run `quintus service enable` again.
* **The connector is offline after a reboot.** Run `quintus service status`, then `quintus service logs`. "Run quintus login" in the log means the session was rejected; log in again and the running service picks it up.
* **No network at boot.** The session is kept; the worker reconnects on its own once the network is back.
* **"Missing X server or \$DISPLAY" when running the binary directly.** Always start the app through `quintus run` or the service, never by invoking the packaged Electron binary yourself.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.