Installation
lmpack needs Node.js 22.12 or later. Check with node --version.
Run without installing
Section titled “Run without installing”npx lmpack pack --dry-runnpx downloads the package on first use and caches it.
Install globally
Section titled “Install globally”npm install --global lmpacklmpack --versionInstall in a project
Section titled “Install in a project”Useful when a project pins the version or runs lmpack in CI.
npm install --save-dev lmpackThen call it from a script in package.json:
{ "scripts": { "pack:llm": "lmpack pack --profile backend --out pack.md" }}--git-diff runs the local git executable. Everything else works without
git, including .gitignore handling.
Network
Section titled “Network”lmpack makes no network requests. Tokenizers ship inside the package, there
is no telemetry and no update check.