which for system
Finds a program file, alias or custom command. If `application` is not provided, all deduplicated commands will be returned.
Signature
> which {flags} ...rest
Flags
-
--all, -a: List all executables.
Parameters
-
...rest: Application(s).
Input/output types:
| input | output |
|---|---|
| nothing | table |
Examples
Find if the 'myapp' application is available
> which myapp
Find all executables across all paths without deduplication
> which -a
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/which.html