terminalai

Type natural language. Get shell commands.

~ $ ai find all jpg files larger than 1mb
find . -name "*.jpg" -size +1M
~ $ ai show what's using port 3000
lsof -i :3000
~ $

$ Natural Language

Just describe what you want in plain English. No need to remember complex syntax.

$ Pre-filled Commands

Commands appear in your terminal ready to edit. Review before you execute.

$ Free & Open Source

Uses free AI models via OpenRouter. MIT licensed. No subscription required.

$ Multi-Shell Support

Works with Zsh, Bash, and Fish. Full command-line pre-fill on Zsh and Fish.

Quick Install

# Install globally
npm install -g terminalai-app

# Set up shell integration
terminalai setup

# Start using it
ai find all python files modified today

Example Commands

ai count lines in all js files
find . -name "*.js" -exec wc -l {} +
ai show disk usage by folder
du -sh */ | sort -hr
ai find text "TODO" in python files
grep -r "TODO" --include="*.py" .
ai compress this folder to zip
zip -r archive.zip .
ai show git commits from last week
git log --since="1 week ago"
ai kill process on port 8080
lsof -ti:8080 | xargs kill -9