summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-01 12:17:56 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-01 12:17:56 -0800
commit837e378f5512abbd71450d169c249415bfaa173b (patch)
tree981c883b7a393621a1aed93763fcebaa3fe9b2e1
parentfce2290bcfe633fede393c618bf033752a642bbf (diff)
downloadnitrocli-837e378f5512abbd71450d169c249415bfaa173b.tar.gz
nitrocli-837e378f5512abbd71450d169c249415bfaa173b.tar.bz2
Reorder contents of Installation section in README
This change reorders the individual ways to install the program in order of preference. If possible, the user most likely wants to use a distribution's package over installation from crates.io or from source.
-rw-r--r--nitrocli/README.md30
1 files changed, 15 insertions, 15 deletions
diff --git a/nitrocli/README.md b/nitrocli/README.md
index 42cddc9..32e096e 100644
--- a/nitrocli/README.md
+++ b/nitrocli/README.md
@@ -75,6 +75,21 @@ The following dependencies are required:
- **GnuPG**: The `gpg-connect-agent` program allows the user to enter
PINs.
+#### Via Packages
+Packages are available for:
+- Arch Linux: [`nitrocli`](https://aur.archlinux.org/packages/nitrocli/) in the
+ Arch User Repository
+- Gentoo Linux: [`app-crypt/nitrocli`](https://github.com/d-e-s-o/nitrocli-ebuild)
+ ebuild
+
+#### From Crates.io
+**nitrocli** is [published][nitrocli-cratesio] on crates.io. If an
+installation from the checked-out source code is not desired, a
+quick-and-dirty local installation can happen via:
+```bash
+$ cargo install nitrocli --root=$PWD/nitrocli
+```
+
#### From Source
In order to compile the program the `hid` crate needs to be available
which allows to access the nitrokey as a USB HID device. This crate and
@@ -89,21 +104,6 @@ $ cargo build --release
It is recommended that the resulting executable be installed in a
directory accessible via the `PATH` environment variable.
-#### From Crates.io
-**nitrocli** is [published][nitrocli-cratesio] on crates.io. If an
-installation from the checked-out source code is not desired, a
-quick-and-dirty local installation can happen via:
-```bash
-$ cargo install nitrocli --root=$PWD/nitrocli
-```
-
-#### Via Packages
-Packages are available for:
-- Arch Linux: [`nitrocli`](https://aur.archlinux.org/packages/nitrocli/) in the
- Arch User Repository
-- Gentoo Linux: [`app-crypt/nitrocli`](https://github.com/d-e-s-o/nitrocli-ebuild)
- ebuild
-
Acknowledgments
---------------