Installation
Prerequisites
- Bun runtime (latest version recommended)
- Node.js v18 or later
- Git for cloning the repository
- At least one AI provider API key
Install via npm
You can install LLPM globally as a CLI using npm:
npm install -g @britt/llpm
llpmInstall from Source
Clone the repository
git clone https://github.com/britt/llpm.git cd llpmInstall dependencies
bun installIf Bun blocks
postinstallscripts for untrusted packages, add@britt/llpmtotrustedDependenciesin your global~/.bunfig.toml.Example:
[install] trustedDependencies = ["@britt/llpm"]Configure environment
Create a
.envfile with your API keys (see Environment Variables below).Make it executable (optional)
chmod +x index.ts
Notes
- Requires Node.js v18 or later (consistent with the prerequisites above).
- Environment variables are still required; configure them as described in Environment Variables.
- In environments that restrict
postinstallscripts, ensure that scripts from@britt/llpmare allowed so that all tooling is set up correctly.
Install Globally (optional)
bun link
llpmVerify Installation
bun start
# or if linked globally
llpmYou should see the LLPM welcome screen and prompt.
Environment Variables
Create a .env file in the project root with your AI provider API keys:
# At least one AI provider is required
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GROQ_API_KEY=gsk_...
# Optional: GitHub integration
GITHUB_TOKEN=ghp_...
# Optional: Web search
ARCADE_API_KEY=your-arcade-api-key-hereBun automatically loads environment variables from .env files.