This document describes how to package, copy, install, configure, and verify codemini-cli from a .tgz file.
Run this in the project root on the packaging machine:
npm packExpected output:
codemini-cli-0.5.5.tgz
If you want to verify the package contents:
tar -tf codemini-cli-0.5.5.tgzCopy the generated .tgz file to the Win10 machine by one of these methods:
- company internal file share
- USB drive
- secure artifact repository
- SCP or similar internal transfer tool
Recommended target path:
C:\temp\codemini-cli-0.5.5.tgzTarget machine requirements:
- Windows 10
- Node.js 22 or newer
- npm available
- PowerShell available
Check:
node -v
npm -vGlobal install:
npm install -g C:\temp\codemini-cli-0.5.5.tgzIf global install is blocked by company policy, install in a working directory instead:
mkdir C:\temp\coder-test
cd C:\temp\coder-test
npm install C:\temp\codemini-cli-0.5.5.tgzIf installed globally:
codemini --helpIf installed locally without global bin exposure:
npx codemini --helpOr:
node .\node_modules\codemini-cli\bin\coder.js --helpSet your internal gateway, key, model, and shell:
codemini config set gateway.base_url https://your-internal-gateway/v1
codemini config set gateway.api_key your_token
codemini config set model.name your_model_id
codemini config set model.max_context_tokens 32768
codemini config set shell.default powershellOptional but recommended:
codemini config set gateway.timeout_ms 180000
codemini config set gateway.max_retries 2Check current config:
codemini config listRun the built-in environment check:
codemini doctorThen launch the TUI:
codeminiInside the TUI, test these:
/config list
/history list
/spec 写一个Win10内部CLI权限规范
/plan from-spec
帮我创建一个 hello.js
读取 hello.js
Project-scoped data:
.coder\
Global user/tool data on Win10:
%APPDATA%\codemini-cli\
Typical contents:
config.jsonsessions\skills\- project skills are stored per workspace under
.codemini\skills\ input-history.json
List installed skills:
codemini skill listInstall a local skill into the current project:
codemini skill install C:\path\to\skill-folderInstall a local skill globally:
codemini skill install --scope=global C:\path\to\skill-folderRebuild the global registry:
codemini skill reindexGlobal uninstall:
npm uninstall -g codemini-cliLocal uninstall inside a test directory:
npm uninstall codemini-cliThis .tgz package is suitable for package distribution, but it is not a fully self-contained offline dependency bundle.
If the target machine is completely air-gapped and does not already have the required npm dependencies available, prepare one of these instead:
- a tested
node_modulesbundle - a company internal npm mirror
- a dedicated offline installer bundle