Talk to AI from your terminal ยท v4.1.0
Install and start using AI from your terminal in seconds.
# Option 1: Run directly
node cli/proxima-cli.cjs ask claude "What is AI?"
# Option 2: npm script
npm run cli -- ask claude "Hello"
# Option 3: Register globally (use from any folder on this PC)
npm link
proxima ask claude "Hello"
# Specific provider proxima ask claude "Explain quantum computing" proxima ask chatgpt "Write a poem about AI" proxima ask gemini "Summarize this topic" proxima ask perplexity "Latest news on AI" # Auto-pick best available proxima ask "Hello" proxima ask auto "Hello" # All providers at once proxima ask all "What is consciousness?" proxima compare "Is water wet?"
Pipe command output, errors, or file content directly to AI for instant help.
# Build error โ AI fixes it npm run build 2>&1 | proxima fix # Python error โ AI fix python app.py 2>&1 | proxima fix # Any command output docker logs app | proxima ask "any errors?"
# Explain a file proxima ask "explain this" --file src/app.js # Review a file proxima ask "review for bugs" --file server.py # Fix error with source file proxima fix "TypeError" --file src/utils.js
# Log analysis cat error.log | proxima ask "what went wrong?" # Git changes โ code review git diff | proxima code review # Config check cat nginx.conf | proxima ask "any issues?"
# Just pipe anything โ auto detects npm test 2>&1 | proxima fix cargo build 2>&1 | proxima fix go build . 2>&1 | proxima fix # Even without a command name: some-command 2>&1 | proxima
# Generate code proxima code "REST API with auth" --lang Python proxima code "sort algorithm" --lang JavaScript # Review code proxima code review "def fib(n): return fib(n-1)+fib(n-2)" cat app.js | proxima code review # Explain code proxima code explain "async/await patterns" cat complex.py | proxima code explain # Debug proxima code debug "function fails on empty array"
--model, -m Specify AI model --to Target language (translate) --from Source language (translate) --lang, -l Programming language (code) --file Send file as context --q Question for analyze --json Raw JSON output
# Custom port set PROXIMA_PORT=4000 proxima ask claude "Hello" # Custom host set PROXIMA_HOST=192.168.1.100 proxima status # Default: 127.0.0.1:3210