exit

For shells.

Exit Nu.

Command Type

built-in

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

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.