Skip to content

Latest commit

 

History

History
87 lines (57 loc) · 3 KB

File metadata and controls

87 lines (57 loc) · 3 KB


💾 About The Project

Start Gemini CLI

Start Gemini CLI is a simple, robust launcher script designed to easily start the Gemini Command Line Interface. It handles the details of determining the script's directory, setting the working environment, and executing the gemini command, ensuring a smooth startup experience.

Built by: Zachary Whiteman & Google Gemini Ai.

(back to top)

🔰 Getting Started

This script is a launcher for the Gemini CLI tool.

🕰️ Prerequisites

To run this script, you will need:

  • Windows Operating System.
  • PowerShell 5.1 or newer.
  • Gemini CLI: The gemini executable must be installed and available in your system's PATH environment variable.

💽 Installation & Execution

  1. Download: Download the Start-Gemini-CLI.PS1 script file.
  2. Unblock: Right-click the file, go to Properties, and click Unblock.
  3. Run: Execute the script from a PowerShell console or by double-clicking it.
    .\Start-Gemini-CLI.PS1

(back to top)

🚀 Usage

Simply run the script. It will:

  1. Identify its own location.
  2. Set the console's working directory to match the script.
  3. Launch the gemini command.

(back to top)

✨ Key Features

  • Auto-Directory Detection: Automatically finds the correct path using $PSScriptRoot or fallback methods.
  • Context Management: Sets the session location to the script's folder, which is helpful for relative file access.
  • Error Handling: Catches errors (like a missing executable) and displays detailed information. It pauses the console before closing so you can read the error message.

(back to top)

🛠️ Technology Stack

  • Scripting Language: PowerShell 5.1+

(back to top)

📐 Architecture & Security Notes

  • Wrapper: This is purely a wrapper script. It does not contain the logic for the Gemini CLI itself; it only invokes the external command.

(back to top)

🪪 License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

☎️ Contact

Zach Whiteman - elitesoftwarecolimited@gmail.com

HuggingFace - https://huggingface.co/EliteSoftware

HuggingFace (Personal) - https://huggingface.co/TheShadyRainbow

LinkTree - https://linktr.ee/zachrainbow

Patreon - https://www.patreon.com/c/EliteSoftwareCo

(back to top)