From b54f5e1b188d92c998684a7d4e09cf1855fa7c0b Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Sat, 10 May 2025 12:46:49 +0200 Subject: [PATCH] Package manager install on Debian, Ubuntu and Alpine Documents installation with package manager on popular distributions. This is tested on the newest stable version of each of those: - Debian 12 - Ubuntu 24.04 - Alpine 3.21 --- source/install-nix.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/install-nix.md b/source/install-nix.md index f06bd3d7a..98a6abc14 100644 --- a/source/install-nix.md +++ b/source/install-nix.md @@ -14,7 +14,10 @@ Install Nix via the recommended [multi-user installation]: $ curl -L https://nixos.org/nix/install | sh -s -- --daemon ``` -On Arch Linux, you can alternatively [install Nix through `pacman`](https://wiki.archlinux.org/title/Nix#Installation). +On most distributions you can also install it with the package manager: +* On Arch Linux the different types of installation are documented [on the Arch Linux wiki](https://wiki.archlinux.org/title/Nix#Installation). +* On Debian and Ubuntu (and distributions based on these like Mint, MX, ...) you can use `apt install nix` +* On Alpine you can use `apk add nix` ::::