lazypr

Installation

How to install LazyPR on your system

Prerequisites

LazyPR requires Node.js version 20 or higher. Check your version:

node --version

If you need to update Node.js, visit nodejs.org.

Install LazyPR

Install LazyPR globally using your preferred package manager:

npm install -g lazypr
pnpm add -g lazypr
yarn global add lazypr
bun add -g lazypr

Verify Installation

Confirm LazyPR is installed correctly:

lazypr --version

You can also use the shorter alias:

lzp --version

First-Time Setup

Before generating your first PR, configure your AI provider API key. LazyPR uses Groq by default:

lazypr config set GROQ_API_KEY=your_api_key_here

Get your free Groq API key at console.groq.com.

You're now ready to generate your first PR! Continue to the Quick Start guide.

On this page