1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/nu.md
Nicolas Kosinski 1f65b86a11
nu: add page (#5818)
* nu: add page

* Apply suggestions from code review
2021-04-27 18:05:25 +02:00

24 lines
456 B
Markdown

# nu
> Nushell ("a new type of shell") takes a modern, structured approach to your command-line.
> More information: <https://www.nushell.sh>.
- Start an interactive shell session:
`nu`
- Execute a command and then exit:
`nu --commands "{{command}}"`
- Execute a script:
`nu {{path/to/script.nu}}`
- Execute a script with logging:
`nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}`
- Print the Nushell version:
`nu --version`