Terminator is a CLI that converts natural language into shell commands or scripts. It prints the generated command and a structured explanation, then asks you to Run / Revise / Edit / Copy / Cancel before execution.
See our introduction page!
https://terminator-page.vercel.app/
- Turn plain natural language into safe, reviewable shell commands
- Keep you in control: nothing runs until you select Run
- Fast demo flow: prompt → command → explanation → action
- Node.js v18+
git clone https://github.com/oodadoudou/Terminator.git
cd Terminator
npm install
npm run build
# Install globally from local folder
npm install -g .Open interactive config UI:
terminator configSet values via CLI:
terminator config set OPENAI_KEY=YOUR_TOKEN
terminator config set OPENAI_API_ENDPOINT=YOUR_ENDPOINT
terminator config set MODEL=YOUR_MODELConfig keys:
OPENAI_KEYOPENAI_API_ENDPOINTMODELLANGUAGESILENT_MODE
Config file:
~/.terminator
terminator --version
terminator -s "whoami"On Windows, terminator may open an editor (for example VS Code) instead of running the CLI. This is a Windows npm shim issue with .mjs files. If that happens, use one of the options below:
:: Recommended: fix the npm shim
:: Edit %AppData%\npm\terminator.cmd
:: Change the last line to:
node "%dp0%\node_modules\terminator\dist\cli.mjs" %*
:: Temporary session alias
doskey terminator=node "%AppData%\npm\node_modules\terminator\dist\cli.mjs" $*
:: Direct run (always works)
node .\dist\cli.mjs -s "whoami"
terminator "list all files in the current directory"Example output (shape):
Terminator ▶ Generated command
> ls
Explanation:
- Description: ...
- Steps:
1) ...
2) ...
What next?
→ Run execute the command
Revise ask AI to improve it
Edit edit manually
Copy copy to clipboard
Cancel abort
terminator -s "whoami"terminator chatExample (shape):
Starting new conversation
You:
>| hi
Terminator:
Hello! How can I help you today?
docker build -t terminator:dev .docker build -t terminator:dev . && \
docker run --rm -it \
-v "$HOME/.terminator:/root/.terminator" \
terminator:dev --versiondocker build -t terminator:dev . && \
docker run --rm -it \
-v "$HOME/.terminator:/root/.terminator" \
terminator:dev -s "whoami"Default values used for the hackathon environment:
OPENAI_API_ENDPOINT = https://llm.aiqu.aiMODEL = gpt-oss-120b
This project is for the Chalmers AI Society x GoWest First-Ever Joint Hackathon and the Builderbase AIxia track .
LLMs used: https://llm.aiqu.ai provided by Aixia.
- Terminator executes commands only if you explicitly select Run
- Use Edit to make final adjustments before running
- Use Copy to paste and inspect commands manually
Built for the Chalmers AI Society × GoWest joint hackathon, Builderbase Aixia / AiQu track.
Track:
AiQu / LLM endpoint (hackathon):