terminal-complete
v0.4.1
Published
AI-powered terminal command generator CLI (Bun)
Readme
terminal-complete
AI CLI for turning natural language into terminal commands with tcomp.
Install (Bun)
Global install:
bun add -g terminal-complete
tcomp --helpOne-off usage without install:
bunx terminal-complete --helpLinks
- npm package: https://www.npmjs.com/package/terminal-complete
- GitHub repository: https://github.com/Markeljan/terminal-complete
- Issue tracker: https://github.com/Markeljan/terminal-complete/issues
Requirements
zshorbashbun
Quick Start
First run setup:
tcompOr run setup directly:
tcomp setupSetup flow:
- checks environment and shell support
- offers shell integration install
- sets up provider auth:
codex: OpenAI OAuth via Codex CLI (browser or device flow)openai: OpenAI API key
After shell integration install, run:
# zsh
source ~/.zshrc
# bash
source ~/.bashrcCommon Usage
tcomp find all files larger than 500MB under this directory
tcomp generate a command to sync ./dist to s3://my-bucket/releases
tcomp show git commits from last 7 days grouped by author
tcomp -e safely remove docker images that are danglingGeneral assistant (non-command) mode:
tcomp -p explain when to use rsync vs scpSetup and Config Commands
Run full onboarding:
tcomp setupRun onboarding for a specific provider:
tcomp setup codex
tcomp setup openaiShow current configuration/status:
tcomp configRe-run provider auth/config:
tcomp config codex
tcomp config openaiSwitch active provider:
tcomp use codex
tcomp use openaiCommon Flags
--explain,-e: print explanation/risk to stderr--prompt,-p: general assistant mode (not command generation)--help,-h: show help--version,-v: show version
Commands
tcomp <request>tcomp setup [codex|openai]tcomp config [codex|openai]tcomp use <codex|openai>tcomp helptcomp version
Maintainers
Release and npm publishing docs: docs/releasing.md
