Sixth CLI - AI-powered development assistant using Claude Code, Google Gemini, Grok API and many more
npm install sixth-cliSixth CLI is a powerful command-line interface tool that brings AI assistance directly to your terminal. Built with Google's Gemini API at its core, it provides an intelligent coding companion that helps you write, debug, and understand code faster than ever before.
- 🤖 AI-Powered Assistance: Get instant help with coding questions, debugging, and code generation
- 💬 Interactive Chat Interface: Natural conversation flow with context awareness
- 🎨 Beautiful Terminal UI: Syntax highlighting, markdown rendering, and multiple themes
- ⚡ Fast & Responsive: Optimized for quick responses and minimal latency
- 🔧 Multiple AI Models: Support for various Gemini models (Flash, Pro, etc.)
- 📝 Code Understanding: Analyze and explain existing codebases
- 🔄 Context Management: Smart context handling for better responses
- 🛠️ Extensible: Plugin system for custom commands and integrations
- 🔐 Secure: Built with privacy and security in mind
- Node.js 20.0 or higher
- npm or yarn package manager
``bash`
npm install -g sixth-cli
`bash`
yarn global add sixth-cli
`bash`
sixth
On first run, you'll be prompted to authenticate with your Sixth account.
`bash`
sixth "How do I create a React component?"
`bashAsk a coding question
sixth "What is the difference between let and const in JavaScript?"
$3
Simply run
sixth without arguments to enter interactive mode:`bash
sixth
`In interactive mode, you can:
- Have continuous conversations with context
- Use slash commands for quick actions
- Access your chat history
- Switch between different AI models
$3
Interactive mode supports various slash commands:
-
/help - Show all available commands
- /clear - Clear the current conversation
- /model - Switch between AI models
- /settings - Configure Sixth CLI settings
- /theme - Change the color theme
- /copy - Copy last response to clipboard
- /quit - Exit Sixth CLI⚙️ Configuration
Sixth CLI stores its configuration in
~/.sixth/ directory.$3
Configure Sixth CLI behavior through the settings command:
`bash
sixth /settings
`Available settings:
- Model Selection: Choose between Gemini Flash, Pro, or other models
- Theme: Select from multiple color themes
- Output Format: Markdown, plain text, or code-only
- Context Size: Adjust context window size
- Temperature: Control response creativity
$3
-
SIXTH_MODEL - Default AI model to use
- SIXTH_THEME - Default color theme
- SIXTH_CONFIG_DIR - Custom config directory path🎨 Themes
Sixth CLI comes with several built-in themes:
-
default - Balanced dark theme
- light - Light theme for bright environments
- dracula - Popular Dracula color scheme
- github-dark - GitHub's dark theme
- ayu - Minimal and modern
- ansi - Classic terminal colorsChange theme:
`bash
sixth /theme dracula
`🔌 Extensions & Plugins
Sixth CLI supports extensions for additional functionality:
$3
`bash
sixth extensions install
`$3
Create a
sixth-extension.json file:`json
{
"name": "my-extension",
"version": "1.0.0",
"commands": {
"mycmd": {
"description": "My custom command",
"handler": "./handler.js"
}
}
}
`🤝 Integration with IDEs
Sixth CLI can integrate with popular code editors:
$3
`bash
sixth /ide vscode
`$3
`bash
sixth /ide cursor
`$3
`bash
sixth /ide zed
`📊 Usage Limits
Sixth CLI includes usage tracking to help you stay within API limits:
- Free Tier: 100,000 tokens for testing
- Subscriber: Unlimited usage
- View your usage:
sixth /stats🔒 Privacy & Security
- All conversations are processed locally
- API keys are stored securely in your system
- No telemetry or usage data is sent without consent
- Open source for full transparency
🐛 Troubleshooting
$3
Authentication issues
`bash
Re-authenticate if needed
sixth /auth
`Permission denied error
`bash
Fix permissions
chmod +x $(which sixth)
`Clear cache and reset
`bash
rm -rf ~/.sixth/
sixth --reset
`$3
Run with debug output:
`bash
DEBUG=* sixth
`📚 Advanced Usage
$3
`bash
Analyze a file
cat app.js | sixth "Review this code for security issues"Process command output
git diff | sixth "Explain these changes"
`$3
`bash
Get quick answers without entering interactive mode
sixth --no-interactive "Quick question here"
`$3
Create custom prompt templates in
~/.sixth/prompts/:`yaml
name: code-review
template: |
Review the following code for:
- Security issues
- Performance problems
- Best practices
Code: {{input}}
`🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
$3
`bash
Clone the repository
git clone https://github.com/yourusername/sixth-cli.gitInstall dependencies
npm installBuild the project
npm run buildLink for local testing
npm link
``Sixth CLI is licensed under the Apache License 2.0. See LICENSE for details.
- Built with Google's Gemini API
- Inspired by Claude Code and GitHub Copilot
- Terminal UI powered by Ink
- Syntax highlighting by Highlight.js
- Documentation
- API Reference
- GitHub Repository
- NPM Package
- Report Issues
- Discord: Join our community
- Twitter: @sixthcli
- Email: support@sixth-cli.dev
---