nix run

Run an application from a Nix flake. See also: nix3 flake for information about flakes. More information: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-run.html.

nix run

nix run nixpkgs#{{pkg}}

nix run nixpkgs#{{vim}} -- {{path/to/file}}

nix run {{remote_name}}:{{owner}}/{{repo}}

nix run {{remote_name}}:{{owner}}/{{repo}}/{{reference}}

nix run "{{remote_name}}:{{owner}}/{{repo}}?dir={{dir_name}}#{{app}}"

nix run github:{{owner}}/{{repo}}/pull/{{number}}/head