nixpkgs VS asdf

Compare nixpkgs vs asdf and see what are their differences.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nixpkgs asdf
1,031 377
20,307 23,488
2.4% 1.2%
10.0 9.4
5 days ago 6 days ago
Nix Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nixpkgs

Posts with mentions or reviews of nixpkgs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-18.
  • Free high-performance cross-platform game engine
    6 projects | news.ycombinator.com | 18 Apr 2025
    Noticed it wasn't on Nixpkgs, so... https://github.com/NixOS/nixpkgs/pull/399843
  • Amazon Q CLI: now available in Nix unstable
    1 project | news.ycombinator.com | 7 Apr 2025
  • InitWare, a portable systemd fork running on BSDs and Linux
    5 projects | news.ycombinator.com | 3 Apr 2025
    https://github.com/nixos-bsd/nixbsd This is a very cool project that I hope will get upstreamed into NixOS proper, eventually.

    I always thought InitWare would be good for that. See https://github.com/NixOS/nixpkgs/issues/26850 --- we've been discussing this before NixBSD existed, even!

  • The essential guide to installing Amazon Q Developer CLI on Linux (headless and desktop)
    2 projects | dev.to | 23 Mar 2025
    If you are currently involved in managing packages for a Linux distribution, then you might want to use the instructions outlined in the GitHub repo to help you build packages for your distributions. My colleague James Ward has recently done this for NixOS (you can see his PR here)
  • A Look at Firefox Forks
    7 projects | news.ycombinator.com | 14 Mar 2025
    You can do this with vanilla Firefox using policies.json[1]. Check out `DisableAppUpdate` attribute.

    If you're using Firefox from nixpkgs this is already disabled by default[2].

    [1]: https://support.mozilla.org/en-US/kb/customizing-firefox-usi...

    [2]: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/appli...

  • Nvidia GPU on bare metal NixOS Kubernetes cluster explained
    3 projects | news.ycombinator.com | 2 Mar 2025
    Ah, this is awesome! I currently run k3s on a decently spec-ed NixOS rig. I tried getting k3s to recognize my Nvidia GPU but was unsuccessful. I even used the small guide for getting GPU in k3s to work in nixpkgs[0], but without success.

    For now I’m just using Docker’s Nvidia container runtime for containers that need GPU acceleration.

    Will likely spend more time digging into your findings — hoping it results in me finding a solution to my setup!

    [0] https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...

  • Nix and Containers: Why Not Both?
    1 project | news.ycombinator.com | 27 Feb 2025
    - Method 1: doesn't really improve layer caching, but it provides a familiar way (via Dockerfile) to use Nix packages. As with any Dockerfile, the creator is in charge of creating layers and making sure those layers are as small (cleaning cache, ...).

    - Method 2: Nix language is used to describe (in a declarative way) what the end image should look like. Layers are then calculated based on the dependency tree (or as Nix calls it, dependency closure). The algorithm that creates layers[1] makes sure that there is higher likelihood of cache hits without the user needing to worry about layers, but you can even roll-up your own algorithm that fits your project better.

    - Method 3: Using Flox you would get sort of both. An easy way to configure the final docker image via toml configuration and using Method 2 under the hood.

    There are other ways how to improve caching efficiency, but those are very use case specific (eg. big "builder" images) and would probably require a completely separate blog post.

    [1] https://github.com/NixOS/nixpkgs/blob/63f0da03a3b2c323ea924b...

  • A peek into a possible future of Python in the browser
    4 projects | news.ycombinator.com | 25 Feb 2025
    I spent a while messing around with https://github.com/ansiwave/nimwave, which I enjoyed but I haven't gotten very far. Though I've been avoiding the front end for so long, I don't know what reasonable feels like in that space anyway.

    My Nim journey was stalled by this bug in its nix toolchain: https://github.com/NixOS/nixpkgs/issues/308593. I guess that's the price we pay for straying from the beaten path.

  • Gixy: Nginx Configuration Static Analyzer
    6 projects | news.ycombinator.com | 15 Feb 2025
    The build will actually fail if Gixy finds any issues.

    [1]: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modu...

  • Nixpkgs: Reverting commit that disables telemetry of a package
    1 project | news.ycombinator.com | 14 Feb 2025

asdf

Posts with mentions or reviews of asdf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-27.
  • Show HN: A Common Lisp implementation in development, supports ASDF
    2 projects | news.ycombinator.com | 27 Apr 2025
  • Practical Guide to Switching to Linux
    1 project | news.ycombinator.com | 1 Mar 2025
    This, but here are some things I've learned to do:

    * Use a .local directory under my home directory instead of ~/bin. That's a great prefix when installing from source or tarball at the user level, keeps the top-level of the home directory from getting cluttered with /share /lib /include /etc /lib etc. etc.

    * Reach for the package manager first when installing new software, unless there is a good reason not to. It makes keeping things up-to-date easy, and since I use Arch, which uses a rolling release, you pretty much get the latest stuff.

    * If I can't get what I want from the package manager, I'll look at what is available using asdf-vm (https://asdf-vm.com/), and failing that, build from source or install from tarball.

    * I don't use snap or the like.

    I gave up on Windows over 20 years ago, and I can't say enough how liberating it has been. One of the nicest things is that there is a distro for almost every need (see https://distrowatch.com/). I use Arch; but your use case may point to a beginner-friendly distro, such as Mint, Ubuntu, etc., or a repeatable install type of distro, such as NixOS or Guix, or many others.

  • Setting Up a Powerful Windows Development Environment 💪
    4 projects | dev.to | 13 Feb 2025
    # Download asdf git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.15.0 # Add the following to ~/.zshrc . "$HOME/.asdf/asdf.sh" # Optional: Completions are configured by either a ZSH Framework asdf plugin # or by adding the following to your .zshrc: fpath=(${ASDF_DIR}/completions $fpath) autoload -Uz compinit && compinit
  • Asdf v0.16.0 – Rewrite asdf in Golang
    1 project | news.ycombinator.com | 30 Jan 2025
  • Asdf Is Rewritten in Go
    1 project | news.ycombinator.com | 30 Jan 2025
  • mise vs. asdf for JavaScript project environment management
    5 projects | dev.to | 2 Jan 2025
    asdf is a popular version manager that uses a technique called "shimming" to switch between different versions of tools like Python, Node.js, and Ruby. It creates temporary paths to specific versions, modifying the environment to ensure that the correct version of a tool is used in different projects. However, this method can introduce performance overhead due to how these shims work.
  • Emacs 2024 Changes
    11 projects | dev.to | 1 Jan 2025
    I use asdf and direnv to manage my toolchain at the project level, so to improve the integration with Emacs I installed envrc.
  • Asdf soon to release go rewrite
    1 project | news.ycombinator.com | 29 Dec 2024
  • Ruby 3.4.0 Released
    15 projects | news.ycombinator.com | 25 Dec 2024
    Use asdf (https://asdf-vm.com/) to manage your Ruby versions.

    You should be able to do

    $ asdf plugin add ruby

    $ asdf list all ruby (you'll see 3.4.1, the latest is available)

    $ asdf install ruby 3.4.1

    And now you can use Ruby 3.4.1 with no issues. Follow that up with

    $ gem install bundler

    $ gem install rails

    $ rails new ...

  • Rust on a $5 dev board
    4 projects | dev.to | 12 Dec 2024
    The toolchain can be installed via Rustup, or (my preferred way) using asdf.

What are some alternatives?

When comparing nixpkgs and asdf you can also consider the following projects:

zen-kernel - Zen Patched Kernel Sources

SDKMan - The SDKMAN! Command Line Interface

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

nix - Nix, the purely functional package manager

waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.

mise - dev tools, env vars, task runner

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Nix is
the 30th most popular programming language
based on number of references?