• 查看当前正在运行的是哪个版本的shell、
echo $SHELL/bin/bash
  • 安装zsh git wget
 sudo apt-get install zsh git wget
 wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh 
  • 确认是否安装成功
zsh --version
  • 设置zsh为默认shell
sudo chsh -s $(which zsh)
  • 重启终端
sudo apt-get update
sudo apt-get install nginx