flutter sdk安裝包macos
【下載地址】https://flutter.dev/docs/development/tools/sdk/releases#macosbash
下載完成後,操做步驟: spa
cd ~/目標路徑插件
unzip ~/安裝包路徑code
設置&更新環境變量ip
打開 $HOME/.bash_profileget
添加 export PATH = [flutter安裝路徑]/flutter/bin:$PATHio
運行 source $HOME/.bash_profileclass
驗證 echo $PATH變量
flutter doctor 檢查
國內鏡像
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
Xcode安裝
Android Studio安裝 | VS Code安裝
Flutter插件
Dart插件