Linux安装On My Zsh
Debian/Ubuntu 安装 zsh
# 更新软件源
sudo apt update && sudo apt upgrade -y
# 安装 zsh git curl
sudo apt install zsh git curl -y
RedHat/Alma Linux/Centos/Rocklinux 安装zsh
# 更新软件源
sudo yum update -y
# 安装 zsh git curl
sudo yum install zsh git curl -y
或使用dnf包管理
# 更新软件源
sudo dnf update -y
# 安装 zsh git curl
sudo dnf install zsh git curl -y
安装 on-my-zsh
curl 形式
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
wget 形式
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
如果以上安装on my zsh过程失败,可以尝试以下国内的镜像站点
Comment