W3cubDocs

/Nushell

exit for shells

Exit Nu.

Signature

> exit {flags} (exit_code)

Parameters

  • exit_code: Exit code to return immediately with

Input/output types:

input output
nothing nothing

Examples

Exit the current shell

>exit

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/exit.html