1. Get the current folder path
pwd
2. Create a file
touch ~/.zshrc
3. Open the file
open ~/.zshrc
4. Edit the file
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=/Users/mmy/Downloads/software_install/android_studio/flutter_sdk/flutter_3.7.9/bin:$PATH
5. Reload the file
source ~/.zshrc
6. Whether the verification is successful
flutter doctor
7. Look at the official documentation
https://flutter.cn/docs/get-started/install/macos