侧边栏壁纸
博主头像
月伴飞鱼 博主等级

行动起来,活在当下

  • 累计撰写 39 篇文章
  • 累计创建 25 个标签
  • 累计收到 1 条评论

目 录CONTENT

文章目录

环境搭建

月伴飞鱼
2025-03-07 / 0 评论 / 1 点赞 / 12 阅读 / 0 字
温馨提示:
部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

HomeBrew

国内安装:

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

JDK

Oracle官网下载JDK1.8安装包:

配置系统的环境变量:

JDK真实主目录如下:

/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home

打开.bash_profile,在文件的末尾加入这几行语句:

open ~/.bash_profile
​
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH:.
export CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.
​
source ~/.bash_profile

验证JDK1.8是否安装成功

# 确认配置生效
java -version

ITerm2

下载地址:https://iterm2.com/downloads.html

主题配置:

  • 主题:Solarized Dark theme,下载地址:http://ethanschoonover.com/solarized

  • 配置:打开 Preferences ,Profiles -> Colors -> Color Presets,选择 Import。

  • 选择刚才解压的solarized->iterm2-colors-solarized->Solarized Dark.itermcolors文件。

  • 导入成功后,在 Color Presets下选择 Solarized Dark 主题。

ZSH

# 使用brew安装zsh
brew install zsh 
​
# 将zsh加入shells备选列表
echo /usr/local/bin/bash | sudo tee -a /etc/shells
​
# 切换到zsh(之后需要重新打开命令窗口)
chsh -s /usr/local/bin/zsh

OhMyzsh

sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"

配置zsh:

vi ~/.zshrc

根据主题列表 https://github.com/ohmyzsh/ohmyzsh/wiki/themes ,选择想要的主题

ZSH_THEME="af-magic
​
#改为
ZSH_THEME="ys"

Python

brew install python3

1
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin
    1. 支付宝打赏

      qrcode alipay
    2. 微信打赏

      qrcode weixin
博主关闭了所有页面的评论