2023-06-30 11:00:03 +02:00
|
|
|
# Installation
|
2023-06-23 17:18:01 +02:00
|
|
|
|
2023-07-04 06:18:46 +02:00
|
|
|
Nix can be installed in various ways:
|
2023-06-23 12:05:06 +02:00
|
|
|
|
2023-07-04 06:18:46 +02:00
|
|
|
1. As a package manager on macOS, Linux, or WSL.
|
2024-03-16 12:29:05 +01:00
|
|
|
2. As the system environment manager on NixOS, a Linux distribution that utilizes Nix for
|
|
|
|
system management.
|
2023-06-23 12:05:06 +02:00
|
|
|
|
2024-03-16 12:29:05 +01:00
|
|
|
This book primarily focuses on the usage of NixOS and Flakes. Therefore, we will skip
|
|
|
|
content that pertains solely to Nix(such as installation on macOS, Linux, or WSL).
|
2023-06-23 12:05:06 +02:00
|
|
|
|
2024-03-16 12:29:05 +01:00
|
|
|
The installation process of NixOS is straightforward, but we won't delve into the
|
|
|
|
specifics here. For more information, please visit the official download site at
|
|
|
|
<https://nixos.org/download.html>.
|
2023-07-19 09:06:27 +02:00
|
|
|
|
2024-03-16 12:29:05 +01:00
|
|
|
> If you're using macOS,
|
|
|
|
> [ryan4yin/nix-darwin-kickstarter](https://github.com/ryan4yin/nix-darwin-kickstarter)
|
|
|
|
> may be a good starting point for you, you can learn how to use Nix with this book and
|
|
|
|
> take nix-darwin-kickstarter as a start point to build your own Nix configuration.
|