Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Google Gemini CLI (via npm) (gemini-cli)

Installs Google Gemini CLI for AI code assistance https://geminicli.com

Example Usage

"features": {
    "ghcr.io/stu-bell/devcontainer-features/gemini-cli:0": {}
}

Options

Options Id Description Type Default Value
gemini_version Version of Gemini CLI to install https://www.npmjs.com/package/@google/gemini-cli#release-cadence-and-tags string latest
min_node_version Minimum version of Node required to install Gemini CLI string 20

Supported OS

Tested on Alpine, Debian or Ubuntu.

Gemini CLI runs off Node.js, so it should run on any container with Node.js v 20 or higher.

For other OS versions, ensure Node.js and npm are installed before this feature is installed (see overrideFeatureInstallOrder).

Get Started

Add the feature to your devcontainer.json:

{
  "image": "mcr.microsoft.com/devcontainers/typescript-node",
  "features": {
    "ghcr.io/stu-bell/devcontainer-features/gemini-cli": {
      "node_min_major_version": "20"
    }
  }
}

Start your devcontainer, ssh in, and run: gemini


Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.