Skip to content

Installation

lmpack needs Node.js 22.12 or later. Check with node --version.

Terminal window
npx lmpack pack --dry-run

npx downloads the package on first use and caches it.

Terminal window
npm install --global lmpack
lmpack --version

Useful when a project pins the version or runs lmpack in CI.

Terminal window
npm install --save-dev lmpack

Then 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.

lmpack makes no network requests. Tokenizers ship inside the package, there is no telemetry and no update check.