// SPDX-FileCopyrightText: 2023 Shun Sakai
//
// SPDX-License-Identifier: CC-BY-4.0

= Installation
:repology-url: https://repology.org
:github-url: https://github.com
:repology-badge: {repology-url}/badge/vertical-allrepos/qrtool.svg?columns=3
:repology-versions: {repology-url}/project/qrtool/versions
:brew-url: https://brew.sh/
:nix-package-url: https://nixos.org/
:archlinux-url: https://archlinux.org/
:pacman-url: https://wiki.archlinux.org/title/pacman
:opensuse-url: https://www.opensuse.org/
:release-page-url: {github-url}/sorairolake/qrtool/releases

== From source

[source,sh]
----
cargo install qrtool
----

== Via a package manager

image::{repology-badge}[Packaging status,link={repology-versions}]

|===
|OS |Package manager |Command

|_Any_
|{brew-url}[Homebrew]
|`brew install qrtool`

|_Any_
|{nix-package-url}[Nix]
|`nix-env -iA nixpkgs.qrtool`

|{archlinux-url}[_Arch Linux_]
|{pacman-url}[Pacman]
|`pacman -S qrtool`

|{opensuse-url}[_openSUSE_]
|Zypper
|`zypper install qrtool`
|===

== From binaries

The {release-page-url}[release page] contains pre-built binaries for Linux,
macOS and Windows.
