Skip to content

docs: add Nix installation to official docs#12927

Open
cedev-1 wants to merge 2 commits intodagger:mainfrom
cedev-1:docs/add-nix-installation
Open

docs: add Nix installation to official docs#12927
cedev-1 wants to merge 2 commits intodagger:mainfrom
cedev-1:docs/add-nix-installation

Conversation

@cedev-1
Copy link
Copy Markdown

@cedev-1 cedev-1 commented Apr 8, 2026

Hello, just a pull request to modify the documentation. I found myself in the same situation as the user who opened issue #35 (in dagger/nix repository), there's no reference to Nix in the official documentation.

I propose adding Nix as a supported installation method in the documentation.

  • New "Nix" tab in the stable releases section with Flake and NUR options
  • Update and uninstall instructions

@cedev-1 cedev-1 requested a review from a team as a code owner April 8, 2026 17:41
@sagikazarmark
Copy link
Copy Markdown
Contributor

I have mixed feelings about this:

  • there are many different ways to install a package on Nix(OS). Why these two?
  • All the other installation instructions use package managers to install the package globally
  • The uninstall instruction uses a different method than the installation instructions

Here is what I suggest:

  • keep the uninstallation command (probably turn it into a tab as well)
  • use the nix profile install github:dagger/nix#dagger command to install Dagger
  • link to the nix repo for alternate installation methods

Nix users are expected to have the knowledge to install packages however they want to.

@cedev-1 cedev-1 force-pushed the docs/add-nix-installation branch 2 times, most recently from 667afeb to e636128 Compare April 9, 2026 21:39
cedev-1 added 2 commits April 9, 2026 23:41
Signed-off-by: cedev <cedevserver@gmail.com>
docs: simplify Nix installation instructions
Signed-off-by: cedev <cedevserver@gmail.com>
@cedev-1 cedev-1 force-pushed the docs/add-nix-installation branch from e636128 to acef04a Compare April 9, 2026 21:41
@cedev-1
Copy link
Copy Markdown
Author

cedev-1 commented Apr 9, 2026

Thanks for the feedback! I've applied your suggestions.
I simplified it to simply refer to the documentation on the other repo.

Copy link
Copy Markdown
Contributor

@sagikazarmark sagikazarmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants