qrencode

Generate QR codes from the command line

brewmacoslinux
Try with needOr install directly
Source

About

QR Code generation

Commands

qrencode

Examples

Generate a QR code from text and save as PNG$ qrencode -o qrcode.png 'https://example.com'
Generate a QR code and display in terminal$ qrencode -t ansiutf8 'Hello World'
Generate QR code with specific size and error correction$ qrencode -s 10 -l H -o qr.png 'Important Data'