← Retour au blog
tech 6 September 2026

Run Any Nix Package in Your Browser

Discover how trynix allows you to run Nix packages directly from your browser, without any prior installation.

Article inspired by the original source
Any Nix package, live in your browser ↗ fzakaria.com

Introduction

Imagine being able to run any Nix package directly from your browser without installing anything on your machine. This is precisely what trynix offers, a revolutionary tool that brings the Nix ecosystem at your fingertips. By integrating a Linux kernel in WebAssembly and a terminal emulator on a web page, trynix turns your browser into a virtual machine capable of running any Nix package.

The Magic of Nix and trynix

Nix is known for its ability to manage software dependencies declaratively and reproducibly. However, it has a reputation for being complex, especially due to its evaluation and building process. Trynix simplifies this approach by allowing direct access to store paths without going through evaluation.

In September 2026, Farid Zakaria unveiled trynix, a project that represents the culmination of several integrated tools: nixpkgs-multiverse, grail, and omniflake. These tools enabled the indexing of every version of every package ever published by nixpkgs and added over 16,000 flakes from a single input.

How trynix Works

The central idea of trynix is to use binaries already produced by Hydra to run Nix packages in the browser. With over 310,083 package versions available, this means you can run any command-line program within seconds.

The process is simple:

  1. Search for a package in the complete history of nixpkgs.
  2. Choose the desired version.
  3. Launch the package in a Linux machine that boots directly in your browser.

Unlike other solutions, trynix is not limited to public caches. You can even share a store path you built yourself.

Why It's Revolutionary

What makes trynix truly revolutionary is its ability to operate without prior installations. For instance, imagine you are working on a project and need to test an older version of Python or a specific tool not available on your system. With trynix, you just need a few clicks to test these tools without disrupting your local environment.

Moreover, thanks to support from static file servers like GitHub Pages, Cachix, and cache.nixos.org, trynix can serve the necessary store paths with minimal configuration.

Use Cases and Perspectives

Let's take a concrete example: you want to test different versions of "hello world" for benchmarking. With trynix, you can select and run multiple versions simultaneously to compare their performance directly from your browser.

This approach offers incredible flexibility for developers, researchers, and DevOps teams looking to experiment quickly without the hassle of local configurations.

Conclusion

Trynix is more than just a technical curiosity; it's a powerful tool that simplifies access to the rich universe of Nix packages. If you're a developer or tech entrepreneur, it's time to explore how trynix can transform the way you work with software packages.

Let's discuss your project in 15 minutes.

Nix Trynix WebAssembly Linux Package Management
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call