Skip to content

Getting Started

ao3575911 edited this page Oct 30, 2026 · 3 revisions

Getting Started

Requirements

Need Why
Python 3.12+ Runtime
~11 MB download First base build (PLDB + Linguist)
Docker (optional) Only for verify and verified snippets

Install

langsuite 1.0.0 is on PyPI:

pipx install langsuite           # or: uv tool install langsuite
langsuite --version              # langsuite 1.0.0

From source:

git clone https://github.com/ao3575911/langsuite && cd langsuite
uv sync
uv run langsuite --version      # langsuite 1.0.0

First five minutes

langsuite base build                     # download sources, build the base (~1 s after download)
langsuite base status                    # snapshot id, counts, licences
langsuite lang show haskell              # one language, every fact sourced
langsuite query "homoiconicity year<1990 sort=year"
langsuite similar scheme --k 5
langsuite                                # open the app (same as `langsuite ui`)

Real base status:

base-4fe788452522 built 2026-10-30T02:57:38Z (0 d, fresh)
  assertions 23752
  edges 296
  features 178
  languages 5414
  PLDB Public domain · retrieved 2026-10-30T02:57:38Z · sha256 83627aa11c8b ·
https://pldb.io/pldb.json
  GitHub Linguist MIT · retrieved 2026-10-30T02:57:38Z · sha256 0c82627ad17a ·
https://raw.githubusercontent.com/github-linguist/linguist/main/lib/linguist/languages.yml

Global flags

Flag Effect
--json Stable JSON output
--plain No colour or borders (screen readers, pipes)
-m, --mode default, concise or thorough for this run (Output Modes)
--local Local mode
--debug Show tracebacks
--version Print version
-h, --help Help; commands grouped by pillar, alias in brackets

Exit codes

Code Meaning
0 OK
1 Verification failed
2 No result, or bad input (unknown option, bad value)
3 Data error (e.g. a finding no longer reproduces)
4 Auth (e.g. login while the hosted service is not live)
5 Quota reached
70 Unexpected internal error: rerun with --debug and report it
130 Interrupted (Ctrl-C)

Errors print one error: line and a hint: line on stderr, never a traceback; --debug shows it.

Where data lives

LANGSUITE_HOME overrides the platform-default data home (snapshots, workspaces, settings). Workspaces are plain JSON folders under <home>/workspaces/<name>/.

Next: CLI Reference · TUI Guide

Clone this wiki locally