2

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

 3 years ago
source link: https://blog.vadxq.com/article/macbook-use-guide/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

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

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

作为前端开发必备的软件

  • vscode
  • 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
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

替换brew.git

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

替换homebrew-core.git

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
cd "$(brew --repo)"
git remote set-url origin https://github.com/Homebrew/brew.git
重置homebrew-core.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://github.com/Homebrew/homebrew-core.git

mongoldb

https://github.com/mongodb/homebrew-brew
brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community

mysql

brew install mysql
brew tap home-brew/services
brew services start mysql
mystery sqladmin -u root password

密码,没密码,直接回车

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:

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

brew install docker
brew install docker-compose

nvm/node/npm

brew install nvm
nvm install 14.12.0
npm i -g nrm
nrm use taboo
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”
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)
brew install axel
axel -n 32 '下载地址' -o '输出文件名’

atext

Clean Text Menu

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK