Skip to content
Documentation
v0.1.6
Tally docsGet started

Install Tally

Choose an installation method, then follow its steps. The binary installer is recommended: one command keeps Tally and its own PostgreSQL and ClickHouse in your home folder and handles downloads, verification, database setup, HTTPS, and automatic startup.

Choose how to install#

Choose before your first installation: switching methods later does not move your data.

Requirements#

Use a normal user account on amd64 or arm64. The default private database downloads need macOS 15 or later or Linux with glibc 2.36 or later, including Debian 12 and Ubuntu 24.04. The installer checks these requirements. On other systems, use existing databases or install with Docker.

Bash, curl, tar, a SHA-256 checksum tool, and OpenSSL must be available. Current macOS includes these tools; its LibreSSL works with Tally's bundled certificate verifier. The private installation does not install system packages and does not need Homebrew, apt/yum, Python, or sudo. Linux uses OpenSSL 1.1.1 or newer to create local certificates; you may also supply your own.

Run the installer#

This command uses private database downloads and local HTTPS. To use a public hostname, prepare your certificatebefore running it. To use existing databases, choose a database mode first.

Terminal
curl -fsSL \
  https://raw.githubusercontent.com/godellabs-ai/godel-tally/main/install.sh \
  -o install-tally.sh && \
  bash install-tally.sh --port 2357

Seven numbered steps explain progress in plain language. Blue means progress, green means success, yellow means a note, and red means setup stopped. Every color has a text label. PostgreSQL and ClickHouse download at the same time, about 250–280 MB in total. Every 10 seconds the installer shows how much of each has arrived and the current speed, so you can tell a slow connection from a stalled one. A first installation can still take several minutes for downloads and database setup.

The installer creates private Tally database instances on loopback: PostgreSQL on 5433 and ClickHouse on 8124. It creates the databases and generates credentials. Existing clusters are not repurposed. Tally applies its embedded migrations on startup.

PostgreSQL 18.6 is downloaded from the theseus-rs portable binary distribution (package 18.6.1). On Linux, ClickHouse 26.9.23.15 comes from ClickHouse's official package repository, packages.clickhouse.com, with its GitHub release as a fallback; on macOS it comes from the GitHub release. Versions and SHA-256 hashes are pinned in the Tally release, so every source must serve identical files. Verified downloads are cached under ~/.godel-tally/runtime and reused on reinstall.

If a database download is interrupted, the installer makes up to five attempts, each continuing from the data already received. A connection that stays below 10 KB/s for a minute is reopened. If setup still stops, or you press Ctrl+C, rerun the same command: the download resumes where it left off instead of starting over.

Create the first account#

Open the URL printed by the installer. Inspect and accept the local self-signed certificate for evaluation, then register the first administrator. Additional accounts need invitations. Tally is self-hosted: no SaaS subscription or Gate portal account is needed to install or use it.

The Create the first Tally administrator form with first name, last name, email and password fields
On a new installation the first screen creates the administrator. Everyone else joins by invitation.

For access beyond this machine, follow the HTTPS setup above and use that hostname in your browser.

Choose the HTTPS port#

Terminal
bash install-tally.sh --port 9443

Then open https://localhost:9443. Supported installer ports are 1024–65535. Choose a free port different from the database and internal runtime ports.

Use the same command to change an installed service. It updates the saved public URL, listening port, and upgrade origin together, then restarts Tally. The configured hostname and bind address are preserved. Reinstalling without --port retains the saved port; a new installation defaults to 2357.

HTTPS and your own SSL certificate#

For local use, the installer generates a self-signed certificate. To use your own SSL/TLS certificate, point your hostname's DNS to this server and allow the selected HTTPS port through your firewall. The certificate must cover that hostname.

Install with an existing certificate

Download the installer as shown above, replace the hostname and absolute file paths below, then run as Tally's normal user. Add your preferred database flags to the final command if needed.

Terminal
export TALLY_URL=https://tally.example.com:2357
export TALLY_HTTP_BIND=0.0.0.0:2357
export TALLY_TLS_CERT_FILE=/absolute/path/to/fullchain.pem
export TALLY_TLS_KEY_FILE=/absolute/path/to/privkey.pem
bash install-tally.sh --port 2357

Supply a PEM full-chain certificate and its matching, unencrypted PEM private key. Both files and their parent directories must be accessible to Tally's user; keep the private key readable only by that user. The installer checks expiry, hostname, and key matching, and leaves your files intact.

Change HTTPS on an existing installation

Edit these values in ~/.godel-tally/config/tally.env (or your custom configuration file). Use literal absolute paths, without shell quotes or $HOME substitution:

tally.env
TALLY_URL=https://tally.example.com:2357
TALLY_HTTP_BIND=0.0.0.0:2357
TALLY_UPGRADE_WEB_ORIGIN=https://tally.example.com:2357
TALLY_TLS_CERT_FILE=/absolute/path/to/fullchain.pem
TALLY_TLS_KEY_FILE=/absolute/path/to/privkey.pem

Restart Tally and open the configured hostname. Tally serves HTTPS directly; nginx is not required. Restart after every certificate replacement or renewal so it loads the new files.

Generate a certificate with Certbot (optional)

Use a public domain you control, replacing tally.example.com and the email in these commands. Its DNS must resolve to this machine, and inbound TCP port 80 must be reachable and unused during issuance and renewal. Tally can keep running on 2357. This example does not issue certificates for localhost; for private hosts or wildcard names, use a DNS plugin.

1. Install Certbot

macOS
brew install certbot
Debian / Ubuntu
sudo apt-get update
sudo apt-get install -y certbot
Fedora
sudo dnf install -y certbot

For other Linux distributions, follow the official Certbot installation instructions. Run only the command for your OS.

2. Request the certificate

Terminal
sudo "$(command -v certbot)" certonly --standalone \
  --config-dir /etc/letsencrypt \
  --cert-name tally.example.com \
  --domain tally.example.com \
  --email admin@example.com \
  --agree-tos

3. Copy the files for Tally's user

Certbot's files are owned by root. From your normal Tally user's terminal, copy them into a private directory. Adjust the destination if you use a custom data directory.

Terminal
tally_cert_dir="$HOME/.godel-tally/data/tls"
mkdir -p "$tally_cert_dir"
chmod 700 "$tally_cert_dir"
sudo install -m 600 -o "$(id -u)" -g "$(id -g)" \
  /etc/letsencrypt/live/tally.example.com/fullchain.pem \
  "$tally_cert_dir/fullchain.pem"
sudo install -m 600 -o "$(id -u)" -g "$(id -g)" \
  /etc/letsencrypt/live/tally.example.com/privkey.pem \
  "$tally_cert_dir/privkey.pem"

4. Install Tally with those files

Terminal
export TALLY_URL=https://tally.example.com:2357
export TALLY_HTTP_BIND=0.0.0.0:2357
export TALLY_TLS_CERT_FILE="$HOME/.godel-tally/data/tls/fullchain.pem"
export TALLY_TLS_KEY_FILE="$HOME/.godel-tally/data/tls/privkey.pem"
bash install-tally.sh --port 2357

If Tally is already installed, update tally.envusing the instructions above instead, then restart it.

5. Renew and apply the renewed certificate

Terminal
# Test renewal against the staging service.
sudo "$(command -v certbot)" renew --dry-run \
  --config-dir /etc/letsencrypt --cert-name tally.example.com
# Renew the real certificate when due.
sudo "$(command -v certbot)" renew \
  --config-dir /etc/letsencrypt --cert-name tally.example.com

After renewal, repeat step 3 to copy the new files, then restart Tally as its installing user:

Linux
systemctl --user restart tally-server
macOS
launchctl kickstart -k "gui/$(id -u)/ai.godel.tally.server"

These commands deploy certificates manually. For unattended operation, schedule Certbot renewal and configure a deploy hook to copy the files and restart the user service. Certbot's renewal alone does not update Tally's copies or reload its certificate.

Installer options#

OptionEffect
--port PORTChoose the public HTTPS and listening port.
--db MODEChoose native (private downloads, the default) or existing for both databases. docker and apple run only the databases in containers; to run all of Tally in containers, use the container deployment instead.
--postgres MODE / --clickhouse MODESelect a mode independently for either database.
--no-startRegister Tally's service without starting it. Private databases stay stopped; container provisioning may start containers.
--no-serviceSkip service registration and print a manual launcher. Private databases start with that launcher and stop with Ctrl+C.
--dry-runShow platform, release selection, options, and service manager without downloading or changing anything.

Set TALLY_VERSION=v0.1.1 before running the script to install a particular published release. Otherwise it selects the latest release.

Choose how your databases run#

Private downloaded PostgreSQL and ClickHouse are the default (the command-line mode is named native). Keep Tally as a native binary and use existing database servers instead, or mix modes. To run Tally itself in containers, see Install with Docker.

Download install-tally.sh using the command above, then choose one of the following commands instead of the default installer invocation. Decide before your first installation: switching database modes does not move existing data.

Use existing databases#

Prepare PostgreSQL 15+ and ClickHouse 26.9+ with dedicated Tally databases. The PostgreSQL account must own its database and be able to apply migrations. The ClickHouse account needs table creation, read, and write permissions in its database.

Terminal
export TALLY_POSTGRES_URL='postgres://tally:URL_ENCODED_PASSWORD@db.example.com:5432/tally?sslmode=require'
export TALLY_CLICKHOUSE_URL='https://clickhouse.example.com:8443?user=tally'
export TALLY_CLICKHOUSE_PASSWORD='REPLACE_WITH_YOUR_PASSWORD'
export TALLY_CLICKHOUSE_DATABASE=tally
bash install-tally.sh --port 2357 --db existing

Replace the example addresses and passwords. URL-encode the PostgreSQL password. Existing mode does not install, start, stop, or remove the database servers. It does apply Tally migrations inside the configured databases, so take backups before using populated databases.

Mix database modes#

For example, use an existing PostgreSQL database and a private ClickHouse download:

Terminal
export TALLY_POSTGRES_URL='postgres://tally:URL_ENCODED_PASSWORD@db.example.com:5432/tally?sslmode=require'
bash install-tally.sh --port 2357 \
  --postgres existing \
  --clickhouse native
Esc
  • Welcome to TallyGet started · Install Gödel Tally and discover your organization's AI inventory.
  • Install TallyGet started · Choose an installation method, install the Tally binary with one command, choose databases, and configure HTTPS.
  • Install with DockerGet started · Run Tally, PostgreSQL, and ClickHouse with Docker Compose and the published image; no Tally binary needed.
  • Install with Apple containerGet started · Run the same Tally images with Apple container on an Apple silicon Mac.
  • Connect your sourcesUse Tally · Configure read-only discovery sources and understand their evidence.
  • Inventory & findingsUse Tally · Explore AI activity, review evidence, and record governance decisions.
  • Accounts & emailUse Tally · Manage invitations, passwords, roles, and email delivery in Gödel Tally.
  • Terminal overviewTerminal · Tally's two terminal tools: the command line (CLI) and the interactive console (TUI), and which to use.
  • Command line (CLI)Terminal · Sign in once, look around, manage connectors and script Tally: readable output in a terminal, JSON when piped, with exit codes.
  • Terminal console (TUI)Terminal · The web console in a terminal: sections, keys and mouse, connecting a source, and light and dark themes.
  • Configuration referenceOperate · Find Tally's saved settings, installation paths, ports, and environment reference.
  • Services & maintenanceOperate · Start, stop, update, back up, and uninstall Tally.
  • Privacy & dataOperate · Understand retained metadata, storage, retention, and data deletion.
  • Upgrade to Gödel GateOperate · Review the Docker-based Gate upgrade, transferred data, and cutover process.
  • ArchitectureBuild · How the Tally binary, connector worker, web console, and databases fit together.
  • DevelopmentBuild · Run Rust and Next.js with live reload and build release binaries.
  • API & integrationsBuild · Find Tally's generated API contract, authentication boundary, and connector fixtures.