exit for shells

Exit a Nu shell or exit Nu entirely.

Signature

> exit (exit_code)

Parameters

  • exit_code: Exit code to return immediately with

Examples

Exit the current shell

> exit