PowerShell is the silent architect of the Windows realm—a language of immense power that often remains a mystery to those who use it most. For students and terminal dwellers, it is the magic wand we wield without a manual. 📖
We live in the terminal, yet we often find ourselves wandering away to find that one elusive command. AICLI was born from this frustration. It is the whisper of wisdom in your shell, a bridge between intent and execution. It allows you to summon complex PowerShell commands using natural language, ensuring your creative flow remains unbroken. No more context switching; just pure, unadulterated productivity. ⚡
Getting the command you need is as simple as asking. Use the ai command followed by your prompt in quotes:
ai "how to list all files larger than 100MB in the current directory"AICLI will talk to the Gemini API and return only the valid PowerShell command, ready for you to copy and run! 📄✨
- Go to the GitHub Releases page.
- Download the latest
ai.exebinary. - Move
ai.exeto a folder that is in your system'sPATH(e.g.,C:\Windows\System32or a custom scripts folder).
To use AICLI, you need a Gemini API Key. 🔑
- Get your API key from the Google AI Studio.
- Add it to your environment variables:
Temporary (Current Session):
$env:GEMINI_API_KEY = "your_api_key_here"Permanent (User Profile):
- Search for "Edit the system environment variables" in Windows.
- Click Environment Variables.
- Under User variables, click New.
- Variable name:
GEMINI_API_KEY, Variable value:your_api_key_here.
This project is licensed under the MIT License. Feel free to use, modify, and distribute it! 🤝
Made with ❤️ by Ayush for the Windows Community💻 ✨