which
For system.
Finds a program file, alias or custom command. If `application` is not provided, all deduplicated commands will be returned.
Command Type
built-in
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
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.