The Google Gemini CLI — gemini on PATH for AI coding assistance and search.
gemini installs the Gemini CLI globally via npm. It depends on nodejs and
ships a package.json pinning @google/gemini-cli, which the build installs
globally under NPM_CONFIG_PREFIX (~/.npm-global). The result is verifiable:
the gemini binary lands at ~/.npm-global/bin/gemini, the scoped package is
unpacked under ~/.npm-global/lib/node_modules/@google/gemini-cli, and
gemini --version exits cleanly and prints a semantic version. A CUE-validated
tmux profile exposes it through the same generic local/SSH/nested Charly agent
channel as the other terminal agents.
| Property | Value |
|---|---|
| Layer / candy | gemini |
| Requires | @github.com/opencharly/layer-nodejs |
| Binary | ~/.npm-global/bin/gemini |
| Agent channel | tmux profile gemini (terminal, persistence required) |
| Service / port | none |
Compose the layer into an image: the image node names this repo in its inner
candy: list (the outer candy: key holds the image spec — base: plus the
list of candies):
version: 2026.261.1747
my-box:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-gemini:v2026.314.0706'Then, inside the built image:
gemini --version # semantic version
gemini # interactive sessioncharly.yml— thegemini:candy entity: therequire:dep, theagent_provide:/terminal_profile:blocks, and thecheck:steps.package.json— pins@google/gemini-cli..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Family skill:
/charly-coder:gemini /charly-coder:nodejs— the required runtime dependency/charly-coder:claude-code,/charly-coder:codex— sibling AI CLIsopencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella