nix-run
Verified for current stable LTS
Nix Run Command: Run Command With Arguments
Use for run command with arguments with Nix Run. Exact CLI syntax to run command with arguments using Nix Run.
When to use this: Use for run command with arguments with Nix Run.
Command Syntax
nix run nixpkgs#<vim> -- <path/to/file> nix run nixpkgs#<vim> -- <path/to/file> Command Breakdown
--- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to run command with arguments using Nix Run.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Nix Run Command: Run Command Remote Repository
nix run <remote_name>:<owner>/<repository> Nix Run Command: Run Command Remote Repository With Reference nix run <remote_name>:<owner>/<repository>/<reference> Nix Run Command: Run Command Remote Repository With Subdirectory nix run "<remote_name>:<owner>/<repository>?dir=<dir_name>#<app>" Nix Run Command: Run Default Application Flake nix run Nix Run Command: Run Flake Github Pull Request nix run github:<owner>/<repository>/pull/<number>/head