Mac开发初装配置教程(未完待续...)

253 阅读1分钟

搜狗输入法

打开隐藏文件

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

配置ssh

1 检查ssh key 是否存在

ls -al ~/.ssh
Lists the files in your .ssh directory, if they exist

2 如果key不存,生成key (文件地址和密码,不需要输入,回车到底)

ssh-keygen -t rsa -C "your_email@example.com"

安装brew

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

安装fvm

First, add homebrew's tap:

brew tap leoafarias/fvm

Once the tap has added, you can install fvm

brew install fvm

Copy the following content in to your .bashrc|.zshrc ... file

# flutter 镜像配置
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

# fvm 
export FVM_DIR="$HOME/.fvm"
source "/usr/local/opt/fvm/init.sh"

#flutter dart
export PATH=$HOME/.fvm/current/bin:$PATH 

配置pod

www.jianshu.com/p/1d2f98742…

下载Android Studio

安装utools

安装Chrome 爬墙版本

如果App Store无法下载,可以去官网上下载Xcode

参考网站

Flutter中文网