Generate QR codes in your terminal CI pipeline shell scripts REST API container
A fast, lightweight command-line tool that renders beautiful QR codes as ASCII art. Export to PNG or display instantly.
$ npx github:asharahmed/qr-cli "https://example.com"
- No install needed — just run the command above
- Or install globally:
npm i -g github:asharahmed/qr-cli
See it in action
Enter your text or URL
$
qr "https://qr-cli.dev"
The developer's choice
Everything you need, nothing you don't
Terminal Native
Renders QR codes as crisp ASCII art using Unicode block characters. Works in any terminal, anywhere.
PNG Export
Save high-quality QR codes as PNG files with a single flag. Perfect for sharing or printing.
Theme Support
Works on dark and light terminals. Use the invert flag to match your terminal's color scheme.
Stdin Piping
Pipe text directly from other commands. Integrates seamlessly into your shell workflows.
Blazing Fast
Lightweight with minimal dependencies. Generates QR codes instantly, even for long URLs.
Display Modes
Choose between compact and large display modes to fit your terminal size and preferences.
Simple commands, powerful output
QR-CLI is designed to be intuitive. Pass any text or URL as an argument, and get a scannable QR code instantly.
Ready to get started?
Run QR-CLI instantly with npx. No install required. Free and open source, forever.
$ npx github:asharahmed/qr-cli "https://example.com"