1、进入终端下载flutter
cd ~/Applications/
git clone -b master https://github.com/flutter/flutter.git
2、配置Flutter的环境变量
编辑 .zshrc文件添加环境变量
export PATH=$PATH:/Applications/flutter/bin
3、查看flutter信息
flutter --version
提示如下代表安装成功
Flutter 3.18.0-7.0.pre.92 • channel master • https://github.com/flutter/flutter.git Framework • revision 872f375b00 (2 小时前) • 2023-12-12 07:53:27 -0500 Engine • revision 444281eb5c Tools • Dart 3.3.0 (build 3.3.0-219.0.dev) • DevTools 2.30.0
4、下载Android Studio
5、配置Android Studio 插件
6、建一个flutter项目
标签:git,flutter,Mac,3.3,PATH,Android,安装,Flutter From: https://www.cnblogs.com/ZhangShengjie/p/17898128.html