【教程】Macbook使用初始化指南

【教程】Macbook使用初始化指南

去年双十一拿着自己的工资买了台Macbook Pro,由于携带性选择了13寸,反正写代码办公等日常够用了哈哈哈,并不需要15寸的高级显卡等性能。

下面就开始我自己的MBP的环境配置和常用软件清单

首先

作为前端开发必备的软件

  • vscode
  • git
  • brew/zsh(由于先进macos默认为zsh,可以只安装brew)
  • nvm/node
  • homebrew 切中科大的源,tap cask
  • flutter/AS

推荐软件

  • INNA:视频播放器
  • popclip:软件扩展copy and paste
  • keka:压缩软件
  • 印象笔记
  • pap.er:壁纸
  • mindnote/xmind:思维导图
  • things3:清单软件
  • mailpo:微博
  • nightowl:切换深色浅色,还可以定时
  • paste:剪贴历史
  • contexts:切换应用
  • folx:下载种子神器
  • tencent lemon:清理垃圾
  • 迅雷:
  • bartender:图标控制显示隐藏
  • ps/pr/激活工具
  • office

brew

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

替换brew.git

1
2
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git

替换homebrew-core.git

1
2
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git

替换Homebrew Bottles源: 参考:替换Homebrew Bottles源

在中科大源失效或宕机时可以: 1. 使用清华源设置参考。 2. 切换回官方源

重置brew.git
1
2
cd "$(brew --repo)"
git remote set-url origin https://github.com/Homebrew/brew.git
重置homebrew-core.git
1
2
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://github.com/Homebrew/homebrew-core.git

mongoldb

1
2
3
4
https://github.com/mongodb/homebrew-brew
brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community

mysql

1
brew install mysql

配置启动

1
2
brew tap home-brew/services
brew services start mysql

修改密码

1
mystery sqladmin -u root password

密码,没密码,直接回车

1
ALTER user 'root'@'localhost' IDENTIFIED BY “123456”

Office

October 15, 2019: Version 16.30 (19101301). For more information, see update history for Office for Mac.
Office 2019 for Mac download link:

1
2
3
4
5
6
7
8
9
https://go.microsoft.com/fwlink/?linkid=525133 # Office
https://go.microsoft.com/fwlink/?linkid=525134 # Word
https://go.microsoft.com/fwlink/?linkid=525135 # Excel
https://go.microsoft.com/fwlink/?linkid=525136 # PowerPoint
https://go.microsoft.com/fwlink/?linkid=525137 # Outlook
https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Word_16.39.20071300_Updater.pkg
https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Excel_16.39.20071300_Updater.pkg
https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_PowerPoint_16.39.20071300_Updater.pkg
https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Outlook_16.39.20071300_Updater.pkg

Docker

1
2
brew install docker
brew install docker-compose

nvm/node/npm

1
2
3
4
brew install nvm
nvm install 14.12.0
npm i -g nrm
nrm use taboo

zsh

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

自动补全

1
2
3
4
5
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
echo "source ${(q-)PWD}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/zshrc

plugins=(git nvm node npm extract zsh-completions zsh-syntax-highlighting)

axel

1
2
brew install axel
axel -n 32 '下载地址' -o '输出文件名’

atext

1
Clean Text Menu

【教程】Macbook使用初始化指南

https://blog.vadxq.com/article/macbook-use-guide/

作者

vadxq

发布于

2020-02-20

更新于

2020-10-04

许可协议

评论