IDE-style autocomplete for your terminal. Fork of the Amazon Q Developer CLI, scoped to local spec-driven autocomplete — no cloud, no AI, no auth.
- Autocomplete for hundreds of CLIs (
git,npm,docker,aws,kubectl, ...) driven by the withfig/autocomplete spec set - Desktop popup anchored to your cursor in the terminal, built on
tao+wry - Shell integration for bash, zsh, fish via a PTY shim (
figterm) - IDE integration for VSCode, JetBrains, GNOME Terminal
Build from source — see Contributing below. A packaged AppImage is produced by ./build.sh --linux-packages appimage.
Debian/Ubuntu:
sudo apt update
sudo apt install build-essential pkg-config jq dpkg curl wget cmake clang libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libdbus-1-dev libwebkit2gtk-4.1-dev libjavascriptcoregtk-4.1-dev valac libibus-1.0-dev libglib2.0-dev sqlite3 libxdo-dev protobuf-compilerRust toolchain via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup default stable
rustup toolchain install nightly
cargo install typos-climacOS cross-targets:
rustup target add x86_64-apple-darwin aarch64-apple-darwinNode and Python via mise:
mise trust
mise installPre-commit hooks:
pnpm install --ignore-scriptsCompile the CLI:
cargo run --bin q_cliAppend -- <subcommand> to run one, e.g. cargo run --bin q_cli -- doctor.
Run CLI tests:
cargo test -p q_cliFormat:
cargo +nightly fmtClippy:
cargo clippy --locked --workspace --color always -- -D warningspackages/autocomplete/— autocomplete React apppackages/dashboard-app/— dashboard React appcrates/figterm/— PTY shim that intercepts the terminal's edit buffercrates/q_cli/— theqCLIcrates/fig_desktop/— desktop shell (tao + wry)crates/fig_input_method/— macOS input method for cursor positionextensions/vscode/— VSCode pluginextensions/jetbrains/— JetBrains pluginbuild-scripts/— Python build/sign orchestrationproto/— protobuf IPC message definitionstests/— integration testscloned_spec/— local mirror of the withfig/autocomplete specs
See codebase-summary.md for a summary of the Rust workspace crates.
Dual-licensed under MIT and Apache 2.0.