What problem does it solve?
Nushell helps you avoid brittle text-processing shell scripts by working with structured data pipelines, consistent environment variables, and correct I/O redirection behavior.
Core Features & Use Cases
- Structured pipelines: Treat streams as tables/lists/records so filtering and transformations operate on fields instead of raw text.
- Environment-variable correctness: Use
$env.* for environment state and $in/$it for pipeline context to prevent common quoting and variable-scope bugs.
- Safe command behavior: Handle stderr redirection correctly for external commands and use proper patterns for internal commands where stderr redirection does not apply.
- Bash-to-Nushell conversion: Translate common bash idioms (vars, exit codes, subshells, redirection) into Nushell equivalents when porting scripts.
Quick Start
Ask the AI to convert your bash command or script pattern to an equivalent Nushell pipeline using $env.*, $it, and correct external-command stderr redirection.