From 5582d050fce3084a4730b63ae53378458a196d55 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Tue, 21 Feb 2023 07:27:21 -0800 Subject: [PATCH] Add note on --no-confirm flag (#261) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e13f7a8c3..d18045eb9 100644 --- a/README.md +++ b/README.md @@ -220,6 +220,16 @@ If systemd is not enabled, pass `--init none` at the end of the command: curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --init none ``` +## Skip confirmation + +If you'd like to bypass the confirmation step, you can apply the `--no-confirm` flag: + +```bash +curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm +``` + +This is especially useful when using the installer in non-interactive scripts. + ## Building a binary Since you'll be using `nix-installer` to install Nix on systems without Nix, the default build is a static binary.