Specify the error correction level (defaults to M)

qr

  • Generate QR codes in the terminal with ANSI VT-100 escape codes.
    More information: <https://github.com/lincolnloop/python-qrcode/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

echo "{{data}}" | qr --error-correction={{L|M|Q|H}}

click the source code to copy install qr on any operating system with command-not-found.com