CLI Reference

After installation, the lacy command is available in your PATH (~/.lacy/bin). It's a pure bash binary with zero dependencies.

Commands

CommandDescription
lacy setupInteractive settings: AI tool, mode, config. Uses Node UI if available.
lacy statusShow installation status, active tool, current mode, version.
lacy doctorDiagnose common issues: missing AI tool, shell config, PATH.
lacy updatePull latest changes from GitHub and reload.
lacy configShow current configuration.
lacy config editOpen config.yaml in $EDITOR.
lacy installRun the installer (delegates to npx or curl).
lacy reinstallFresh installation from scratch.
lacy uninstallRemove Lacy Shell. Uses Node UI if available.
lacy versionShow installed version.
lacy helpShow all commands and usage.

Hybrid Node delegation

setup, install, and uninstall try npx lacy@latestfirst for the rich @clack/prompts UI, then fall back to bash if Node is unavailable.

Force bash-only mode:

bash
LACY_NO_NODE=1 lacy setup

Testing local changes

bin/lacy delegates to npx lacy@latest (the published npm package), not local code. To test local changes to the Node installer:

bash
# Run local Node installer directly
node packages/lacy/index.mjs

# Force bash fallback (skips npx entirely)
LACY_NO_NODE=1 bin/lacy setup