LinuxCommandLibrary

qr

Generate QR codes from the command line

TLDR

Generate QR code

$ qr "[text]"
copy
Generate from stdin
$ echo "[text]" | qr
copy
Output as image
$ qr --output=[qr.png] "[text]"
copy

SYNOPSIS

qr [options] [text]

DESCRIPTION

qr is a simple command-line utility for generating QR codes from text input. It can display QR codes directly in the terminal using Unicode block characters or save them as image files, making it useful for quickly sharing URLs, WiFi credentials, or other short text via scannable codes.
The tool accepts text as a command-line argument or reads from standard input, allowing it to be used in shell pipelines. Various implementations of the qr command exist across different packages.

PARAMETERS

TEXT

Text to encode.
--output FILE
Output file.
-o FILE
Output file.

CAVEATS

Various implementations. Check installed version.

HISTORY

qr provides quick QR code generation from command line.

SEE ALSO

qrencode(1), zbarimg(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community