Men的博客

欢迎光临!

0%

M1 mac 装机

1.安装最新的Xcode
2.Homebrew
https://www.jianshu.com/p/1265310832e6
https://brew.sh
homebrew配置:brew config
安装软件,如:brew install node
卸载软件,如:brew uninstall node
搜索软件,如:brew search node
更新软件,如:brew upgrade node
查看安装列表,如:brew list
列出可更新的软件包,brew outdated
检测已经过时的软件:brew outdated
升级所有已过时的软件,即列出的以过时软件 : brew upgrade
启动服务 brew services start mysql
查看包依赖 brew deps git

open -e .zshrc
open -e .bash_profile
cd ~
vim ./.bash_profile

http-server . -c-1

brew install ruby
gem sources -l
gem sources –add https://gems.ruby-china.com/ –remove https://rubygems.org/
sudo gem install -n /usr/local/bin cocoapods

brew install git
brew install nginx
brew install mongodb

brew install google-chrome
brew install launchrocket
brew install docker
brew install visual-studio-code
brew install sorcerer
brew install sublime-text
brew install charles
brew install betterzip
brew install cleanmymac
brew install smartsvn
brew install we-chat
2.安装cocoapods
https://blog.csdn.net/baicai_520/article/details/112697063
https://www.jianshu.com/p/44c894b69cf6
https://blog.csdn.net/qq_19484963/article/details/83110004

M1电脑预装软件列表
Office 软件
https://pan.baidu.com/s/1MZjAv01_fT2ZOV5Pi7yDkA?errmsg=Auth+Login+Sucess&errno=0&ssnerror=0&

wps
https://www.wps.cn

idea webstorm pycharm ps

node
https://nodejs.org/en/download/
https://blog.csdn.net/u012843349/article/details/112856593

IDEA
https://download.jetbrains.8686c.com/idea/ideaIU-2020.3.2-aarch64.dmg

VS code
https://code.visualstudio.com

chrome
https://www.google.com/chrome/

mysql
https://dev.mysql.com/downloads/
https://blog.csdn.net/qq_42006613/article/details/111773038

https://developer.android.com/studio

github
https://desktop.github.com

xCode
https://apps.apple.com/us/app/xcode/id497799835

https://proxyman.io

https://www.charlesproxy.com/download/

https://www.python.org

https://www.cnblogs.com/Macvcl/p/14019852.html

设置homebrew-core镜像

HOMEBREW_CORE_GIT_REMOTE=https://mirrors.ustc.edu.cn/homebrew-core.git

/bin/bash -c “$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"

Arm版安装:

1
2
3
4
cd /opt # 切换到 /opt 目录
mkdir homebrew # 创建 homebrew 目录
sudo chown -R $(whoami) /opt/homebrew # 修改目录所属用户
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

intel版的安装:

1
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

vim ~/.zshrc 或者 vim ~/.bash_profile

1
2
3
4
5
6
7
# x86
$ export PATH="/usr/local/bin:$PATH"
$ alias abrew='arch -x86_64 /usr/local/bin/brew'

# arm
$ export PATH="/opt/homebrew/bin:$PATH"
$ alias brew='/opt/homebrew/bin/brew'

source ~/.zshrc 或者 source ~/.bash_profile

hexo g -d