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 14:19:41 +00:00
> See also: `elvish`.
> More information: <https://www.nushell.sh>.
- Start an interactive shell session:
`nu`
2022-04-15 04:44:09 +01:00
- Execute specific commands:
2022-02-06 14:19:41 +00:00
`nu --commands "{{echo 'nu is executed'}}"`
2022-04-15 04:44:09 +01:00
- Execute a specific script:
`nu {{path/to/script.nu}}`
2022-04-15 04:44:09 +01:00
- Execute a specific script with logging:
`nu --log-level {{error|warn|info|debug|trace}} {{path/to/script.nu}}`