Skip to content

Suggested curl | sh leaves no TTY for interactive installer #11714

Open
@wizardfrag

Description

Problem

When viewing the installation instructions for macOS, they suggest we run:

curl -L https://nixos.org/nix/install | sh

However, this causes the installer to assume "yes" to everything (at least with zsh on macOS Sonoma 14.7), which might be fine for most users, however I believe most would want to be able to interact with the installer? The output of the installer includes No TTY, assuming you would say yes :).

Proposal

Could the documentation be changed to either a "curl and inspect" type flow, or:

sh <(curl -L https://nixos.org/nix/install)

Leaving stdin/out available to the TTY.

Checklist

Priorities

Add 👍 to issues you find important.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions