Nushell, or Nu for short, is a new shell that takes a modern, structured approach to your commandline. It works seamlessly with the data from your filesystem, operating system, and a growing number of file formats to make it easy to build powerful commandline pipelines.
Today, we're releasing 0.18 of Nu. The focus of this release was largely to polish what is already there, ensuring that internally parts work together better, are more consistent, and are easier to maintain. We've also added new commands for working with paths, URLs, strings, and lists.
Where to get it
If you want more goodies, you can install
cargo install nu --features=stable.
As part of this release, we also publish a set of plugins you can install and use with Nu. To install, use
cargo install nu_plugin_<plugin name>.
Please note: as part of last minute changes, we had to bump the first release version of 0.18 to 0.18.1 instead of 0.18.0.
reducecommand to reduce a list of values into a value (bailey-layzer)
path expandfor working with path values (mattyhall)
path existsfor more path-related functionality (mattyhall)
str rtrimto trim off left-hand and right-hand characters (k-brk)
str ends-withto check if a string begins or ends with a given substring (k-brk)
- New: the
urlsubcommands for dealing with URLs (mattyhall)
- The history file path is now configurable (Amanita-muscaria)
- The startup banner can now be turned off (avranju)
versionnow contains the features that Nu was built with (andrasio)
math variancecan now sample the input (andrasio)
do -iwill also ignore stderr output from external commands (jonathandturner)
to htmlnow has many themes to choose from (fdncred)
to htmlalso now has list output (coolshaurya)
- More of the line editor settings are now configurable (fdncred)
str to-datetimecan now parse many more date formats (nmandery)
str collectnow optionally takes a separator value (coolshaurya)
histogramcan now work with simple values (andrasio)
ps -l) are now the preferred way of getting a full listing (JosephTLyons)
insertnow takes a block to do the work of inserting values (coolshaurya)
The flags for --full in
ps has been changed to --long (-l) to better align with habits from other shells.
Line editor config settings have moved to their own section.
Demo site (jzaefferer, jonathandturner)
There have been a number of improvements to the new wasm-based demo site, including new colors, command improvements, pivoting of long tables, and more.
Bugfixes (fdncred, kornelski, JosephTLyons, andrasio, thegedge, jonathandturner, jzaefferer, warrenseine, coolshaurya)
Fixed issues with different types of symlinks on Windows, Nu will now used the support app_dirs crate, lots of internal match logic cleanup, internal representation of data summaries got a cleanup, getting ready to add a winget package, the first wave of parser cleanups ahead of future completion work, cleaned up unnecessary extra build steps, new command examples, improvements to the new
path command errors, fixed histogram example, and consistency improvements.
We're nearly to the first birthday for Nu! In the near future, we'll continue to improve completions, work on a possible new data frames implementation, continuing to push the wasm implementation futher, and more.