clud is a lightweight tool that turns natural language into ready-to-run shell commands using an LLM.
It is designed for fast terminal workflows with a safety step before execution.
- Natural language to shell command
- Interactive setup (
--setup) - Install as a global command (
--install) - BYOK model access (Bring Your Own Key)
- Supports Gemini, Claude, and OpenAI (Codex/GPT models)
- Always asks for confirmation before running the generated command
bashcurlpython3
Run directly from the repo:
sh clud.shThen run setup when prompted (or explicitly with sh clud.sh -s) and provide your API key.
Install with interactive path/name confirmation:
sudo sh clud.sh -iInstalling will put clud.sh in PATH as an executable and default to reading config from ~/.clud.env.
clud <your task>clud will always confirm before executing:
> clud convert file movie.mov to h264 optimized for web and write to out.mp4
Suggested command:
ffmpeg -i movie.mov -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k out.mp4
Run it? [y/N]More examples:
clud list files sorted by size
clud find all .log files modified in last 24 hours
clud show top 10 processes by memory usageclud uses environment-style config files to store settings and API keys.
Read order:
CLUD_CONFIG(Environment variable)./.clud.env~/.clud.env
-h,--help— show help-s,--setup— run interactive setup-i,--install— install globally--doctor— check dependencies and config health
No need for more subscriptions. Use your own API key.
Supported providers:
- Google Gemini
- Anthropic Claude
- OpenAI ChatGPT
Read all suggested commands before executing, and in case of uncertainty, run it on someone else's computer first.