Skip to content

Commit c005d07

Browse files
SecKatiedaringer
authored andcommitted
Update installation-mac.rst to include uv
`uv` works as an installation method. This commit adds the instructions for how to use it.
1 parent 39f3d16 commit c005d07

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

source/components/software/nk-app2/installation-mac.rst

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,45 @@
11
macOS Install
22
=============
33

4+
Installing the Nitrokey App 2 via uv
5+
-------------------------------------
6+
7+
This is the simplest and fastest way to install the Nitrokey App 2 on macOS using `uv`, an extremely fast Python package manager.
8+
9+
1. Install `uv` if it is not already installed:
10+
11+
.. code-block:: zsh
12+
13+
curl -LsSf https://astral.sh/uv/install.sh | sh
14+
15+
Alternatively, if you have Homebrew:
16+
17+
.. code-block:: zsh
18+
19+
brew install uv
20+
21+
2. Install the Nitrokey App:
22+
23+
.. code-block:: zsh
24+
25+
uv tool install nitrokeyapp
26+
27+
To update the app:
28+
29+
.. code-block:: zsh
30+
31+
uv tool upgrade nitrokeyapp
32+
33+
To run the application:
34+
35+
.. code-block:: zsh
36+
37+
nitrokeyapp
38+
439
Installing the Nitrokey App 2 via Pipenv
5-
----------------------------------------
40+
-----------------------------------------
641

7-
This is the simplest way for now to install the Nitrokey App 2 on macOS. Further methods are being worked on.
42+
This is an alternative way to install the Nitrokey App 2 on macOS.
843

944
1. `Install <https://pipenv.pypa.io/en/latest/installation.html>`__ pipenv if it is not already installed.
1045

@@ -57,7 +92,7 @@ To run the application:
5792
5893
cd nitrokeyapp
5994
60-
2. Update the app:
95+
2. Run the app:
6196

6297
.. code-block:: zsh
6398

0 commit comments

Comments
 (0)