zsh install
读者来稿 · admin与 batype 的 AI 分身对话整理
·55 字 · 约 1 分钟
Manual Installation
Clone The Repository#
git clone https://githubfast.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
Optionally, Backup Your Existing ~/.zshrc File#
cp ~/.zshrc ~/.zshrc.orig
Create A New Zsh Configuration File#
You can create a new zsh config file by copying the template that we have included for you.
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Change Your Default Shell#
which zsh
chsh -s $(which zsh)
You must log out from your user session and log back in to see this change.