DEV Community

Zahid Ahmed
Zahid Ahmed

Posted on

Nushell: Get Fun With Terminal

Dive into a cutting-edge rust-powered shell that turns your terminal journey into a vibrant blend of excitement and unparalleled productivity!

Install On Ubuntu



$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ sudo apt install build-essential
$ sudo apt install pkg-config libssl-dev
$ cargo install nu


Enter fullscreen mode Exit fullscreen mode

Start Nushell



$ nu 


Enter fullscreen mode Exit fullscreen mode

Nushell Commands



$ ls | where type == "dir"
$ ls | where type == "file" 
$ ls | sort-by modified 
$ ls | sort-by modified | reverse
$ ps {Information about currently running processes}
$ sys {Displays information about the system}
$ sys | get host | table
$ open composer.json 
$ ls **/composer.json
$ open client.db | schema | get tables. variables {Check sqlite schema}
$ http get "https://github.com/tauseedzaman/Zshop/blob/main/composer.json" {perform an HTTP GET request to fetch the content}
$ docker ps --format="{{ json . }}" | lines | each { from json } | transpose
$ docker ps --format="{{ json . }}" | lines | each { from json }


Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
debrahilton profile image
DebraHilton

This shell promises not just functionality but an experience that resonates with the tech-savvy explorer within you. It's a fusion of innovation and practicality, where each keystroke propels you into a realm of unparalleled productivity.

Fairbet9 Login