CmdID

CmdID / Commands

nix-run

Run an application from a Nix flake. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run the default application in the flake in the current directory

nix runIdentify

Run a command whose name matches the package name from nixpkgs (if you want a different command from that package, see tldr nix shell)

nix run nixpkgs#pkgIdentify

Run a command with provided arguments

nix run nixpkgs#vim -- path/to/fileIdentify

Run from a remote repository

nix run remote_name:owner/repositoryIdentify

Run from a remote repository using a specific tag, revision, or branch

nix run remote_name:owner/repository/referenceIdentify

Run from a remote repository specifying a subdirectory and a program

nix run "remote_name:owner/repository?dir=dir_name#app"Identify

Run the flake of a GitHub pull request

nix run github:owner/repository/pull/number/headIdentify