Flutter install

下載flutter SDK解壓後 ,我是將移至/usr/local

1.配置$PATH, 更新/etc/paths:
cd /etc
sudo nano paths
2.輸入存放flutter的bin的位置:
/usr/local/flutter/bin
control+ O (儲存) 
control+x (離開)

4. 確認flutter指令可運作:which flutter 

5.到App Store安裝Xcode這邊就不教了,可透過指令配置到最新版本:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

6.xcode license簽個同意書就完成了:
sudo xcodebuild -license
agree
(7.可不裝…)


Comments

Popular posts from this blog

Go-VSCode -Autocomplete and Auto-import

Dart syntax - initSate,Build,deactive, Dispose