tldr/pages/common/nu.md

22 lines
458 B
Markdown

# nu
> Nushell ("a new type of shell") takes a modern, structured approach to your command-line.
> See also: `elvish`.
> More information: <https://www.nushell.sh>.
- Start an interactive shell session:
`nu`
- Execute specific commands:
`nu --commands "{{echo 'nu is executed'}}"`
- Execute a specific script:
`nu {{path/to/script.nu}}`
- Execute a specific script with logging:
`nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}`