suliveevil Life is Short!

macOS 系统 init


预备工作

安装 Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安装 git

# 系统自带 git
git --version
# git version 2.17.2 (Apple Git-113)

### 使用brew 安装 git
brew install git

# ==> Downloading https://homebrew.bintray.com/bottles/git-2.20.1.mojave.bottle.3.tar.gz
# ######################################################################## 100.0%
# ==> Pouring git-2.20.1.mojave.bottle.3.tar.gz
# ==> Caveats
# Bash completion has been installed to:
#   /usr/local/etc/bash_completion.d
#
# zsh completions and functions have been installed to:
#   /usr/local/share/zsh/site-functions
# 
# Emacs Lisp files have been installed to:
#   /usr/local/share/emacs/site-lisp/git
# ==> Summary
# 🍺  /usr/local/Cellar/git/2.20.1: 1,528 files, 41.3MB

shell

安装 xcode command line tools

xcode-select —-install

安装其他软件

Ansible

Python 3

自动化部署系统和软件环境

Ansible

Homebrew 安装

Python 安装

shell 脚本


Similar Posts

上一篇 macOS 101

Comments