qr

Generate QR codes in the terminal with ANSI VT-100 escape codes. More information: <https://github.com/lincolnloop/python-qrcode/>.

Install

All systems
curl cmd.cat/qr.sh
Debian Debian
apt-get install python-qrcode
Ubuntu
apt-get install python-qrcode
Arch Arch Linux
pacman -S python-qrcode
image/svg+xml Kali Linux
apt-get install python-qrcode
CentOS
yum install python-qrcode
Fedora
dnf install python-qrcode
Windows (WSL2)
sudo apt-get update sudo apt-get install python-qrcode
OS X
brew install python-qrcode
Raspbian
apt-get install python-qrcode

Generate QR codes in the terminal with ANSI VT-100 escape codes. More information: <https://github.com/lincolnloop/python-qrcode/>.

  • Generate a QR code:
    echo "data" | qr
  • Specify the error correction level (defaults to M):
    echo "data" | qr --error-correction=L|M|Q|H

© tl;dr; authors and contributors