tldr/pages/common/nu.md

22 lines
431 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-02-06 14:19:41 +00:00
- Execute commands:
2022-02-06 14:19:41 +00:00
`nu --commands "{{echo 'nu is executed'}}"`
- Execute a script:
`nu {{path/to/script.nu}}`
- Execute a script with logging:
`nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}`