NexCLI is an intelligent, natural language command-line interpreter that allows users to run advanced OS commands with ease. Using Google’s Gemini model for prompt engineering, NexCLI translates natural-language requests into precise Windows OS commands and executes them. This tool offers flexibility, automation, and ease of use, whether you’re managing files, directories, or remote repositories.
- AI-based command generation from natural language inputs
- Context-aware command adaptation based on system information
- GitHub repository initialization and configuration using stored auth tokens
- Customizable command explanations and system information integration
- Clone the repository
git clone https://github.com/Abbilaash/NexCLI.git cd NexCLI - Install Dependencies
pip install -r requirements.txt - Google Gemini API key setup
- Sign up and obtain you API key from the Google Gemini API page
- Store the key in the
.envfile as follows:GEMINI_API=your_gemini_api_here
Run NexCLI using the command
python <path_to_NexCLI/main.py> -c "<your_command>"
You can even add your GitHub authentication key
python <path_to_NexCLI/main.py> -gitauth "<your_git_auth_code_here>"
-c or --command To execute the specified command
-y or --yes Skips confirmation before command execution
-gitauth Adds GitHub auth token to .env file
