Install into your preferred Python environment (a workspace .venv is recommended so the extension can auto-detect it):
# Standard pip
pip install beancount-lsp
# Or with uv
uv pip install beancount-lsp
Verify it is available:
beancount-lsp --version
Configure the extension
Set these in VS Code Settings or settings.json:
beancount.root_file (required): path to your main Beancount file, e.g.
"beancount.root_file": "ledger.beancount"
beancount.server_path (optional): full path to the beancount-lsp executable. If omitted, the extension searches in order: beancount.server_path, your workspace .venv (.venv/bin/beancount-lsp), then your system PATH.