Prev Source
Next Source

2. Run a Program With Nix

original source

The Nix CLI did a few things:

In Nix, every program is part of a package. Packages are built using the Nix language. The ponysay package has a single program (also called ponysay) but packages can contain multiple programs as well as man pages, configuration files, and more.

You may have noticed that nix run doesn’t require anything like a nix install command. This makes it handy for use cases like shell scripting or experimenting with in-progress tools.


Date
March 22, 2024