1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/nu.md

22 lines
459 B
Markdown
Raw Normal View History

# nu
> Nushell ("a new type of shell") takes a modern, structured approach to your command-line.
2022-02-06 06:19:41 -08:00
> See also: `elvish`.
> More information: <https://www.nushell.sh>.
- Start an interactive shell session:
`nu`
2022-04-15 13:44:09 +10:00
- Execute specific commands:
2022-02-06 06:19:41 -08:00
`nu --commands "{{echo 'nu is executed'}}"`
2022-04-15 13:44:09 +10:00
- Execute a specific script:
`nu {{path/to/script.nu}}`
2022-04-15 13:44:09 +10:00
- Execute a specific script with logging:
`nu --log-level {{error|warn|info|debug|trace}} {{path/to/script.nu}}`