裝X神器!NuShell

創(chuàng)建具有現(xiàn)代感的靈活的跨平臺Shell 允許你將命令行應(yīng)用程序與可理解數(shù)據(jù)結(jié)構(gòu)的Shell進行混合和匹配 具有現(xiàn)代命令行應(yīng)用程序提供的用戶體驗優(yōu)化

sudo apt update
sudo apt install pkg-config libssl-dev -y
sudo apt install libxcb-composite0-dev libx11-dev -y
sudo yum install libxcb openssl-devel libX11-devel -y
brew install openssl cmake
cd /tmp
curl -s https://api.github.com/repos/nushell/nushell/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep '\linux.tar.gz' | wget -i -
tar -xvf nu_*_linux.tar.gz
sudo mv nu_*_linux/nushell-*/nu /usr/local/bin
sudo mv nu_*_linux/nushell-*/nu_plugin* /usr/local/bin
sudo dnf copr enable atim/nushell -y && sudo dnf install nushell -y
$ brew install nushell
cd /tmp
curl -s https://api.github.com/repos/nushell/nushell/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep '\macOS.zip' | wget -i -
unzip nu_*_macOS.zip
sudo mv nu_*_macOS/nushell-*/nu /usr/local/bin
sudo mv nu_*_macOS/nushell-*/nu_plugin* /usr/local/bin
$ sudo adduser techviewleo
Adding user `techviewleo' ...
Adding new group `techviewleo' (1000) ...
Adding new user `techviewleo' (1000) with group `techviewleo' ...
Creating home directory `/home/techviewleo' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for techviewleo
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y
sudo chsh -s /usr/local/bin/nu techviewleo
$ su - techviewleo
Password:
Welcome to Nushell 0.28.0 (type 'help' for more info)
/home/techviewleo>
$ su - techviewleo
Password:
Welcome to Nushell 0.28.0 (type 'help' for more info)
/home/techviewleo>

最后,關(guān)注公眾號互聯(lián)網(wǎng)架構(gòu)師,在后臺回復(fù):2T,可以獲取我整理和創(chuàng)作的 Java 系列教程非常齊全。
1、2019 年 9 月全國程序員工資統(tǒng)計,你是什么水平?
3、從零開始搭建創(chuàng)業(yè)公司后臺技術(shù)棧
5、37歲程序員被裁,120天沒找到工作,無奈去小公司,結(jié)果懵了...
6、滴滴業(yè)務(wù)中臺構(gòu)建實踐,首次曝光
