snippetbashTip
nu — Nushell ("a new type of shell") takes a modern, structured approach to your command-line. See also:
Viewed 0 times
shellcommandtakesnushellnewclitypenu
Problem
How to use the
nu command: Nushell ("a new type of shell") takes a modern, structured approach to your command-line. See also: elvish. More information: <https://www.nushell.sh/book/configuration.html#flag-behavior>.Solution
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/book/configuration.html#flag-behavior>.Start an interactive shell session:
nuExecute specific commands:
nu {{[-c|--commands]}} "{{echo 'nu is executed'}}"Execute a specific script:
nu {{path/to/script.nu}}Execute a specific script with logging:
nu --log-level {{error|warn|info|debug|trace}} {{path/to/script.nu}}Code Snippets
Start an interactive shell session
nuExecute specific commands
nu {{[-c|--commands]}} "{{echo 'nu is executed'}}"Execute a specific script
nu {{path/to/script.nu}}Execute a specific script with logging
nu --log-level {{error|warn|info|debug|trace}} {{path/to/script.nu}}Context
tldr-pages: common/nu
Revisions (0)
No revisions yet.