推荐一款 Shell 装逼神器,已开源!网友:真香 。。。
1、创建具有现代感的灵活的跨平台Shell
2、允许你将命令行应用程序与可理解数据结构的Shell进行混合和匹配
3、具有现代命令行应用程序提供的用户体验优化
# 安装开发人员工具
sudo apt updatesudo apt install pkg-config libssl-dev -ysudo apt install libxcb-composite0-dev libx11-dev -y
sudo yum install libxcb openssl-devel libX11-devel -y
brew install openssl cmake
# 在 Linux 上安装 Nushell
cd /tmpcurl -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
# 在 macOS 上安装 Nushell
brew install nushell
cd /tmpcurl -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
docker run -it quay.io/nushell/nu:latest
# 将用户 Shell 设置为 Nushell
$ sudo adduser techviewleoAdding 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 successfullyChanging the user information for techviewleoEnter the new value, or press ENTER for the defaultFull 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>
点这里👇关注我,记得标星呀~
长按进入小程序,进行打卡签到
(更多精彩值得期待……)
最近热文: 超全面!领取Java核心知识点.pdf 高质量程序员微信群,先到先得! 996加班累到肺切除,一位程序员的维权之路 实战 | 把学校的网站搞了! LeetCode1-420题汇总,希望对你有点帮助! 2T技术资源大放送!包括但不限于:C/C++,Linux,Python,Java,人工智能,考研,软考,英语,等等。在公众号内回复「资源」,即可免费获取!回复「社群」,可以邀请你加入读者群! 点个在看你最好看
评论