Add note on --no-confirm flag (#261)
This commit is contained in:
parent
a89e05b850
commit
5582d050fc
10
README.md
10
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
|
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
|
## Building a binary
|
||||||
|
|
||||||
Since you'll be using `nix-installer` to install Nix on systems without Nix, the default build is a static binary.
|
Since you'll be using `nix-installer` to install Nix on systems without Nix, the default build is a static binary.
|
||||||
|
|
Loading…
Reference in a new issue