Skip to content

Quickstart

  • Docker Desktop (Windows or macOS) or Docker Engine with Compose v2 (Linux)
  • An API key for at least one supported provider (Anthropic, OpenAI, or a compatible gateway)

Linux and macOS:

Terminal window
curl -fsSL https://raw.githubusercontent.com/tenurehq/tenure/main/scripts/install.sh | sh

Windows (PowerShell):

Terminal window
irm https://raw.githubusercontent.com/tenurehq/tenure/main/scripts/install.ps1 | iex

If blocked by corporate policy:

Terminal window
irm https://raw.githubusercontent.com/tenurehq/tenure/main/scripts/install.ps1 -OutFile install.ps1
powershell -ExecutionPolicy Bypass -File install.ps1

The installer starts Tenure automatically. Your bearer token is printed at the end of installation and saved to ~/.tenure/token (Linux/macOS) or %USERPROFILE%\.tenure\token (Windows).

Linux and macOS:

Terminal window
docker compose -f ~/.tenure/docker-compose.yml exec tenure node dist/index.js token

Windows (PowerShell):

Terminal window
docker compose -f "$env:USERPROFILE\.tenure\docker-compose.yml" exec tenure node dist/index.js token

And for the stopped container case:

Linux and macOS:

Terminal window
docker compose -f ~/.tenure/docker-compose.yml run --rm tenure node dist/index.js token

Windows (PowerShell):

Terminal window
docker compose -f "$env:USERPROFILE\.tenure\docker-compose.yml" run --rm tenure node dist/index.js token

Open http://localhost:5757/onboarding in your browser. You will be prompted to:

  1. Enter your provider credentials
  2. Pick a default model
  3. Answer a short questionnaire to seed your world model

Onboarding is optional. If you skip it, Tenure builds your world model from chat extraction over time.

Set your client’s API base URL to http://localhost:5757/v1 and use your bearer token for authentication. The model list is populated from your configured providers.

For client-specific instructions, see clients.md.

Open http://localhost:5757/beliefs to watch your world model grow as you work.


VariableDescriptionDefault
TENURE_PORTPort the server listens on5757
PORTFallback if TENURE_PORT is not set (for PaaS compatibility)5757

To install on a different port:

Linux and macOS:

Terminal window
TENURE_PORT=5858 sh install.sh

Windows (PowerShell):

Terminal window
$env:TENURE_PORT=5858; powershell -ExecutionPolicy Bypass -File install.ps1

All commands reference the compose file written by the installer. Replace ~/.tenure with %USERPROFILE%\.tenure on Windows.

Check logs:

Terminal window
docker compose -f ~/.tenure/docker-compose.yml logs proxy

Stop:

Terminal window
docker compose -f ~/.tenure/docker-compose.yml down

Start:

Terminal window
docker compose -f ~/.tenure/docker-compose.yml up -d

Update to the latest image:

Terminal window
docker compose -f ~/.tenure/docker-compose.yml pull
docker compose -f ~/.tenure/docker-compose.yml up -d