Complete guide to mastering NEXUS AI Terminal. Learn all commands, features, and best practices for an enhanced AI experience.
.env.example
to .env
.env
python main.py
/help
to see all commands/help
# Show all available commands
/switch gemini
# Switch to Gemini AI model
Hello, how are you?
# Start chatting with AI
Download and run install.bat
install.bat
Download and run install_mac.sh
chmod +x install_mac.sh && ./install_mac.sh
Download and run install_linux.sh
chmod +x install_linux.sh && ./install_linux.sh
Create a .env
file in the terminal directory and add your API keys:
# Gemini API Key (from Google AI Studio)
GEMINI_API_KEY=your_gemini_api_key_here
# Groq API Key (from groq.com)
GROQ_API_KEY=gsk_your_groq_api_key_here
# HuggingFace API Key (from huggingface.co)
HUGGINGFACE_API_KEY=hf_your_huggingface_api_key_here
# OpenAI API Key (from platform.openai.com)
OPENAI_API_KEY=sk-your_openai_api_key_here
# Ollama Configuration (local models)
OLLAMA_HOST=http://localhost:11434
# Optional Settings
DEFAULT_MODEL=gemini
MAX_RETRIES=3
REQUEST_TIMEOUT=30
.env
to version controlGoogle's fastest and most capable model
/switch gemini
Ultra-fast inference with high quality
/switch groq
Run models locally without API keys
/switch ollama [model]
Access to open-source models
/switch huggingface
OpenAI's conversational AI
/switch chatgpt
Model Context Protocol integration
/switch mcp
/switch gemini
/switch groq
/switch ollama llama2:13b
/current-model
/models
/help
Show comprehensive help menu
/status
Display current model and system status
/clear
Clear the terminal screen
/exit
Exit the NEXUS AI terminal
/sysinfo
Show detailed system information
/config
Display current configuration
/run [command]
Execute safe system commands
/calc [expression]
Calculate mathematical expressions
/websearch [query]
Search the web using DuckDuckGo
/weather [city]
Get current weather information
/note [text]
Save a quick note
/notes
View all saved notes
/timer [seconds]
Start a countdown timer
/convert [val] [from] [to]
Unit converter
/password [length]
Generate secure password
/codereview [filename]
AI code review for bugs and improvements
/summarizefile [filename]
AI file summarization
/findbugs [filename]
Find bugs in code using AI
/refactor [filename] [instruction]
AI code refactoring
/gendoc [filename]
Generate documentation for code
/gentest [filename]
Generate unit tests for code
/git commitmsg [diff]
Generate git commit messages
/todos
Extract TODOs and FIXMEs from codebase
/learn [topic]
- Teach AI about technologies/remind [task]
- Set task reminders/reminders
- View active reminders/complete-reminder [n]
- Mark reminder as complete/analytics
- View usage statistics/error-analytics
- View error analytics/start-monitoring
- Start system monitoring/stop-monitoring
- Stop system monitoring/net-diag
- Network diagnostics/analyze-logs
- Analyze log files/health
- System health check/challenge [difficulty]
- Get coding challenge/submit-challenge [id] [pid] [code]
- Submit solution/tutorial [topic]
- Start interactive tutorial/tutorial-section [id] [num]
- Get tutorial section/quiz [topic]
- Take interactive quiz/answer-quiz [id] [num]
- Answer quiz question/user-stats
- View learning statistics/ascii [text]
- Generate ASCII art/colors [type] [base]
- Generate color schemes/music [mood] [length]
- Generate music patterns/story [genre] [length]
- Generate creative stories/encrypt [message]
- Encrypt messages/decrypt [message]
- Decrypt messages/rotate-key [service] [key]
- Rotate API keys/biometric-auth [data]
- Biometric authentication/secure-password [len]
- Generate secure passwords/security-report
- View security report/threat-scan [text]
- Scan for security threats/setkey [provider] [key]
- Set API keys/history
- View chat history/clearhistory
- Clear chat history/myactivity
- View activity log/listusers
- List all users (admin)/resetpw [user] [newpass]
- Reset password (admin)/git create-branch [name]
/git delete-branch [name]
/aifind [keyword]
/explore
/task add [title] [description]
Add a new task
/task list
List all tasks
/task view [id]
View task details
/task update [id] [field] [value]
Update task field
/task delete [id]
Delete a task
/task complete [id]
Mark task as completed
/task priority [id] [level]
- Set task priority (low/medium/high)/task category [id] [category]
- Assign task category/task due [id] [date]
- Set due date (YYYY-MM-DD)/task subtasks [id] [subtask]
- Add subtask to task/task search [keyword]
- Search tasks by keyword/task filter [criteria]
- Filter tasks by status/priority/category/task export [format]
- Export tasks (json/csv)/task import [file]
- Import tasks from file/task stats
- View task statistics/task categories
- List all categories/task overdue
- Show overdue tasks/task today
- Show tasks due today/theme default
Classic dark theme
/theme neon
Bright neon colors
/theme ocean
Ocean blue theme
/theme forest
Forest green theme
/theme sunset
Warm sunset colors
/theme minimal
Clean minimal design
/theme create [name]
- Create custom theme/theme set [property] [value]
- Set theme property/theme save [name]
- Save current theme/theme load [name]
- Load saved theme/theme delete [name]
- Delete custom theme/theme list
- List all themesprimary_color
- Main theme colorsecondary_color
- Secondary accent colorbackground_color
- Background colortext_color
- Primary text colorborder_color
- Border and separator colorssuccess_color
- Success message colorerror_color
- Error message colorwarning_color
- Warning message color/theme preview [name]
/theme export [name]
/theme import [file]
/theme reset
/theme current
/theme info [name]
/review file [filename]
Review code file for issues
/review security [filename]
Security analysis
/review performance [filename]
Performance analysis
/review quality [filename]
Code quality assessment
/review bugs [filename]
Bug detection and fixes
/review refactor [filename]
Refactoring suggestions
/review compare [file1] [file2]
- Compare two files/review history [filename]
- Review file change history/review dependencies [filename]
- Analyze dependencies/review documentation [filename]
- Check documentation/review tests [filename]
- Review test coverage/review complexity [filename]
- Analyze code complexity/review report [filename]
/review export [format]
/review summary
/review batch [directory]
/review project [path]
/review stats
/integrate github [action]
GitHub integration
/integrate slack [action]
Slack integration
/integrate discord [action]
Discord integration
/integrate trello [action]
Trello integration
/integrate jira [action]
Jira integration
/integrate notion [action]
Notion integration
/integrate linear [action]
Linear integration
/integrate figma [action]
Figma integration
/integrate stripe [action]
Stripe integration
/integrate twilio [action]
Twilio integration
/integrate setup [service] [config]
- Setup service integration/integrate test [service]
- Test service connection/integrate status [service]
- Check integration status/integrate remove [service]
- Remove service integration/integrate list
- List all integrations/integrate config [service]
- View service configuration/webhook create [service] [url]
- Create webhook endpoint/webhook list [service]
- List service webhooks/webhook test [id]
- Test webhook endpoint/webhook delete [id]
- Delete webhook/webhook logs [id]
- View webhook logs/webhook retry [id]
- Retry failed webhook/workflow create [name]
/workflow trigger [name]
/workflow list
/sync start [service]
/sync status [service]
/sync stop [service]
Enable hands-free operation with voice input capabilities:
/voice
# Activate voice input mode
Install SpeechRecognition for voice input:
pip install SpeechRecognition
/run-python print('Hello, NEXUS!')
# Execute Python code
/run-python
# Enter multi-line mode
Safe execution with timeout protection
/debug my_script.py
# Setup debug session
/profile my_script.py
# Performance profiling
Automatic breakpoint insertion and profiling
/test test_my_code.py
# Run unit tests
/lint my_code.py
# Code linting
/security-scan my_code.py
# Security analysis
/setkey gemini YOUR_API_KEY
# Set Gemini API key
/setkey groq YOUR_API_KEY
# Set Groq API key
/setkey openai YOUR_API_KEY
# Set OpenAI API key
/myactivity
# View your activity log
/history
# View chat history
/clearhistory
# Clear chat history
/listusers
# List all users
/resetpw username newpass
# Reset user password
/auditlog
# View audit log
/security-report
# Security report
/start-monitoring
# Start system monitoring
/stop-monitoring
# Stop system monitoring
/health
# System health check
/net-diag
# Network connectivity test
/analyze-logs
# Analyze system logs
/explore
# Interactive file browser
/aifind keyword
# AI-powered file search
/git create-branch name
# Create new branch
/git delete-branch name
# Delete branch
# Switch to Gemini and ask a question
/switch gemini
What is the capital of France?
# Switch to Groq for faster response
/switch groq
Explain quantum computing in simple terms
# Generate a Python function
Write a Python function to calculate fibonacci numbers
# Generate with specific requirements
Create a REST API endpoint in Flask that handles user authentication
# Code review process
/codereview my_script.py
/findbugs my_script.py
/gentest my_script.py
# Git workflow
/git commitmsg diff.txt
/git create-branch feature-x
# Security analysis
/threat-scan suspicious_text
/security-report
/encrypt sensitive_data
# Performance monitoring
/start-monitoring
/health
/net-diag
A: Visit the respective provider websites:
• Gemini: Google AI Studio
• Groq: Groq Console
• HuggingFace: HuggingFace Settings
• OpenAI: OpenAI Platform
A: Yes! Install Ollama locally and use /switch ollama
to run models without any API keys.
A:
• Gemini: Best for general tasks, coding, and analysis
• Groq: Fastest for quick responses
• Ollama: Privacy-focused, works offline
• ChatGPT: Creative writing and complex reasoning
A: Check your .env
file format and ensure API keys are correct. Use /setkey
command to update keys.
A: Install SpeechRecognition: pip install SpeechRecognition
. Ensure microphone permissions are granted.
A: Check internet connection for cloud models. For Ollama, ensure the service is running with ollama serve
.
A: Use /clearhistory
to clear your chat history, or /clear
to clear the terminal screen.
A: Switch between models anytime with /switch [model]
. Each model has different strengths for different tasks.
A: Yes! Use /run-python [code]
for safe Python execution, or /run [command]
for system commands.
A: Chat history and settings are stored locally. Copy the ~/.nexus/
directory to backup your data.
Seamlessly switch and combine Gemini, Groq, Ollama, and OpenAI models in a single workflow.
Hands-free operation with improved speech recognition and multi-language support.
Live security monitoring, audit logs, and instant threat detection for all user actions.
Integrated profiling and analytics for commands, models, and system resources.
Browse, install, and manage community plugins and API integrations directly from the terminal.
Built-in tutorials, code labs, and AI-powered learning recommendations.
Improved input sanitization and API key validation
Beautiful interface with syntax highlighting and progress indicators
Conversation persistence with ChromaDB integration
Support for multiple programming languages in code analysis
Support for custom-trained models and fine-tuning
Detailed usage analytics and performance metrics
Extensible plugin architecture for custom features
Install Python 3.8+ from python.org and add to PATH
Run pip install -r requirements.txt
Run as administrator/sudo
Check .env file and key validity
Wait and retry, or upgrade API plan
Check internet connection
/status
# Check system status
/sysinfo
# System information
/config
# Current configuration
/help
- In-terminal help