Skip to content

kimi

Version 2026.199.2359
Repo box/github.com/opencharly/layer-kimi:v2026.239.1639

Installs the Moonshot Kimi Code CLI globally via npm so kimi is on PATH for AI coding assistance. The candy depends on nodejs and ships a package.json pinning @moonshot-ai/kimi-code, which the build installs globally under NPM_CONFIG_PREFIX (~/.npm-global). The result is verifiable: the kimi binary lands at ~/.npm-global/bin/kimi, the scoped package is unpacked under ~/.npm-global/lib/node_modules/@moonshot-ai/kimi-code, and kimi --version exits cleanly and prints a semantic version.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
check the kimi binary is installed into the npm global bin directory
check the @moonshot-ai/kimi-code scoped package is unpacked under the npm global lib directory
check running kimi –version exits cleanly and prints a semantic version