Instant terminal commands powered by AI
Transform natural language into terminal commands instantly. No more googling command syntax or remembering complex flags!
- AI-Powered: Convert natural language to precise terminal commands
- Instant Results: Get commands immediately without searching
- Interactive Mode: Review and confirm commands before execution
- Smart Context: Understands your intent and provides relevant commands
- Safe Execution: Always shows commands before running them
$ ask how to list all files
→ ls -la
$ ask find large files over 100MB
→ find . -type f -size +100M
$ ask compress this folder
→ tar -czf archive.tar.gz .# Download and install
curl -sSL https://raw.githubusercontent.com/sjdpk/ask-cli/main/install.sh | bash# Clone repo
git clone https://github.com/sjdpk/ask-cli.git
cd ask-cli
# Run installer
./install.sh# Quick uninstall
curl -sSL https://raw.githubusercontent.com/sjdpk/ask-cli/main/uninstall.sh | bashOr manually:
# Remove CLI and all files
rm ~/.local/bin/ask
rm -rf ~/.ask-cliNote: This preserves your API key configuration (~/.ask_config.json) unless you delete it manually.
ask <what you want to do>Ask CLI provides an interactive mode where you can review commands before execution:
See your commands in action with clear execution feedback:
ask list all files # → ls -la
ask check disk space # → df -h
ask find text in files # → grep -r "text" .
ask kill process on port 3000 # → lsof -ti:3000 | xargs kill -9
ask compress folder # → tar -czf archive.tar.gz folder
ask show running processes # → ps aux
ask find files modified today # → find . -type f -mtime 0
ask check memory usage # → free -hask --help # Show help information
ask --reset # Reset your API key
ask --update # Update to the latest version
ask --force # Execute commands without confirmationFor advanced users who want to skip confirmation prompts:
Getting started with Ask CLI is simple:
- Get a free API key from Google AI Studio
- Run your first command:
ask list files - Enter your API key when prompted
- Start asking! The CLI is now ready to use
Tip: Your API key is stored securely and only used for generating commands. Use
ask --resetto change it anytime.
Keep your Ask CLI up to date with the latest features and improvements:
ask --updateThis command will automatically download and install the latest version from GitHub while preserving your configuration.
MIT License
Made with care for developers who love efficiency




