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.
-
Install the CLI globally.
Terminal window npm install -g hansard -
Preview setup without writing anything.
Terminal window hansard init --dry-run -
Initialize Hansard.
Terminal window hansard initThe setup flow names the device, chooses local or remote storage, configures privacy, discovers supported sources, offers recall integrations, and can import existing history.
-
Verify the installation.
Terminal window hansard doctorhansard status -
Open the viewer.
Terminal window hansard appOn macOS, this opens the separately installed native app when available. Otherwise Hansard starts the local browser viewer.
-
Search the archive.
Terminal window hansard history "authentication migration" --since 90d
Import all configured local sources
Section titled “Import all configured local sources”Run a complete backfill when the setup flow did not import history or after changing the configured source list:
hansard import --source all --since allUse hansard help import to see the current source IDs and provider-specific
import paths.