llmcc brings multi-depth architecture graphs for code understanding and generation.
npm install llmcc-cliThis directory contains the npm package configuration for distributing llmcc via npm.
``bash`
npm install -g llmcc
1. On npm install, the postinstall script downloads the pre-built binary for your platform from GitHub releasesbin/llmcc
2. The shell wrapper () detects your OS/architecture and executes the correct binary
``
npm/
├── package.json # Main package configuration
├── bin/
│ ├── llmcc # Shell wrapper (Unix)
│ └── llmcc.cmd # Batch wrapper (Windows)
├── scripts/
│ └── postinstall.js # Downloads binary from GitHub releases
└── README.md
| Platform | Binary Name |
|----------|-------------|
| macOS ARM64 (Apple Silicon) | llmcc-darwin-arm64 |
| macOS x64 (Intel) | llmcc-darwin-x64 |
| Linux ARM64 | llmcc-linux-arm64 |
| Linux x64 | llmcc-linux-x64 |
| Windows x64 | llmcc-win32-x64.exe |
1. Update version in Cargo.toml and npm/package.jsonjust npm-build
2. Build binaries: v0.2.51
3. Create GitHub release with binaries attached`
4. Publish to npm:
bash`
cd npm
npm publish
The workflow at .github/workflows/npm-publish.yml will:
1. Build binaries for all platforms
2. Create GitHub release with binaries
3. Publish to npm
`bashBuild for current platform
cargo build --release