tt is a CLI tool that converts natural language requests into terminal commands using LLM.
- Clone the repository, then run the install script. It builds the binary and
adds a
ttalias to the right shell startup file for your shell (~/.zshrc,~/.bashrc/~/.bash_profile, or fish config):On Windows (PowerShell), run instead:./scripts/install.sh
Restart your shell (or.\scripts\install.ps1
sourcethe startup file) for the alias to take effect. - Configure your provider and credentials:
This walks you through selecting a provider (Gemini, OpenAI, Azure OpenAI, or Anthropic) and entering your API key and an optional model. Credentials are stored in
tt --config
~/.config/ttool/config.json(mode0600). Runtt --clear-configto delete the saved configuration.
Simply type tt followed by your request:
tt i want to see all files in this directory
# Output: ls -la
tt find all logs modified in the last 24 hours
# Output: find . -name "*.log" -mmin -1440tt --helpUsage
tt <request> Generate a command from natural language
tt --config Configure provider and credentials
tt --clear-config Clear saved configuration and credentials
tt --help Show help