欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

mac安装ohzsh 和 brew

程序员文章站 2022-04-07 17:51:16
安装brew原文章地址:https://zhuanlan.zhihu.com/p/111014448/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"安装ohzshcat /etc/shellschsh -s /bin/zshecho $SHELLbrew install wgetwget https://github.com/robbyrussell/oh-m...

安装brew

原文章地址:https://zhuanlan.zhihu.com/p/111014448

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

安装ohzsh

cat /etc/shells
chsh -s /bin/zsh
echo $SHELL

brew install wget
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
vim ~/.zshrc
ZSH_THEME="xiong-chiamiov-plus"
source ~/.zshrc

style list

安装失败解决方案:

https://blog.csdn.net/curious_undergather/article/details/106629878

https://www.jianshu.com/p/d194d29e488c

本文地址:https://blog.csdn.net/weixin_43221659/article/details/107332266