Linux command
comma 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run a command
, [command]
Run a command
, [command] --from [package]
说明
comma (invoked as ,) runs software without installing it permanently. It wraps nix shell -c and nix-index to search nixpkgs for the binary, temporarily install the relevant package, and run the command. If multiple packages provide the same command, comma prompts you to select which package to use. Results are cached so subsequent runs of the same command reuse the previous selection. Comma requires a working Nix installation and an up-to-date nix-index database.
FAQ
What is the comma command used for?
comma (invoked as ,) runs software without installing it permanently. It wraps nix shell -c and nix-index to search nixpkgs for the binary, temporarily install the relevant package, and run the command. If multiple packages provide the same command, comma prompts you to select which package to use. Results are cached so subsequent runs of the same command reuse the previous selection. Comma requires a working Nix installation and an up-to-date nix-index database.
How do I run a basic comma example?
Run `, [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more comma examples?
This page includes 2 examples for comma, plus related commands for nearby Linux tasks.