diff --git a/pages/common/nu.md b/pages/common/nu.md new file mode 100644 index 0000000000..ce7270f65b --- /dev/null +++ b/pages/common/nu.md @@ -0,0 +1,24 @@ +# nu + +> Nushell ("a new type of shell") takes a modern, structured approach to your command-line. +> More information: . + +- Start an interactive shell session: + +`nu` + +- Execute a command and then exit: + +`nu --commands "{{command}}"` + +- Execute a script: + +`nu {{path/to/script.nu}}` + +- Execute a script with logging: + +`nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}` + +- Print the Nushell version: + +`nu --version`