exit for shells
Exit Nu.
Signature
> exit {flags} (exit_code)
Flags
-
--abort: Exit by abort.
Parameters
-
exit_code: Exit code to return immediately with.
Input/output types:
| input | output |
|---|---|
| nothing | nothing |
Examples
Exit the current shell
> exit
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/exit.html