Skip to content

Quickstart

Hansard requires Node.js 20 or newer. Some importers also use optional system tools such as sqlite3, rg, unzip, and zstd; hansard doctor reports what is available on the current machine.

  1. Install the CLI globally.

    Terminal window
    npm install -g hansard
  2. Preview setup without writing anything.

    Terminal window
    hansard init --dry-run
  3. Initialize Hansard.

    Terminal window
    hansard init

    The setup flow names the device, chooses local or remote storage, configures privacy, discovers supported sources, offers recall integrations, and can import existing history.

  4. Verify the installation.

    Terminal window
    hansard doctor
    hansard status
  5. Open the viewer.

    Terminal window
    hansard app

    On macOS, this opens the separately installed native app when available. Otherwise Hansard starts the local browser viewer.

  6. Search the archive.

    Terminal window
    hansard history "authentication migration" --since 90d

Run a complete backfill when the setup flow did not import history or after changing the configured source list:

Terminal window
hansard import --source all --since all

Use hansard help import to see the current source IDs and provider-specific import paths.