# {frontmatter.title}
```dart
Before we start developing our hotkey application, we need to set up the development environment. This chapter will guide you through all the necessary configurations.
## Install Flutter SDK
1. Visit the Flutter official website to download the latest SDK:
https://flutter.dev/docs/get-started/install/macos
2. Extract the downloaded file to your preferred location, for example:
```bash
cd ~/development
unzip ~/Downloads/flutter_macos_arm64_3.x.x-stable.zip- Add Flutter to your environment variables by editing
~/.zshrcor~/.bash_profile:
export PATH="$PATH:~/development/flutter/bin"
```dart
4. Run the following command to verify the installation:
```bash
flutter doctorInstall Xcode
Since we’re developing a macOS application, we need to install Xcode:
Install Xcode from the Mac App Store
After installation, run the following command to accept the license agreement:
sudo xcodebuild -license accept
```dart
3. Install Xcode command-line tools:
```bash
sudo xcode-select --installConfigure VS Code
Install VS Code: https://code.visualstudio.com/
Install necessary extensions:
- Flutter
- Dart
Enable macOS Desktop Support
- Enable macOS desktop support:
flutter config --enable-macos-desktop
```dart
2. Verify that macOS is in the list of supported platforms:
```bash
flutter devicesVerify Environment
Run the following command to check if the environment is configured correctly:
flutter doctor
Ensure all check items show ✓. If there are any issues, follow the prompts to resolve them.
## Common Issues
1. Slow Flutter SDK Download
- Use a mirror site
- Or use a proxy for downloading
2. Xcode Installation Failure
- Ensure Mac App Store login is working
- Check network connection
- Ensure sufficient disk space
3. VS Code Plugin Installation Failure
- Check network connection
- Try using a proxy
## Next Step
Once the environment setup is complete, we can proceed to [Create Project](./01-Create_Project.md).