Install Flutter SDK via git clone and configure for all platforms
This skill guides you through installing the Flutter SDK using git clone and setting up the environment for Web, Mobile, and Desktop development.
Ensure you have the following installed:
Open your terminal and run the following commands to clone the stable branch of the Flutter SDK.
# Create a directory for development (e.g., ~/development)
mkdir -p ~/development
cd ~/development
# Clone the Flutter SDK
git clone https://github.com/flutter/flutter.git -b stable
Open PowerShell or Command Prompt.
# Create a directory for development (e.g., C:\src)
mkdir C:\src
cd C:\src
# Clone the Flutter SDK
git clone https://github.com/flutter/flutter.git -b stable
To run flutter commands from any terminal, you must add the SDK's bin directory to your PATH.
Open your shell configuration file (e.g., ~/.zshrc, ~/.bashrc, or ~/.zshenv).
Add the following line (replace ~/development/flutter with your actual path):
export PATH="$PATH:$HOME/development/flutter/bin"
Refresh your current terminal:
source ~/.zshrc # or ~/.bashrc
Win + S, type "env", and select Edit the system environment variables.flutter\bin (e.g., C:\src\flutter\bin).Run the following command to check for missing dependencies:
flutter doctor
flutter config --enable-web
flutter devices to see "Chrome" listed.sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
sudo gem install cocoapods
open -a Simulator.flutter doctor --android-licenses
(Press y to accept all licences).flutter config --enable-macos-desktop
flutter config --enable-windows-desktop
sudo apt-get update
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
flutter config --enable-linux-desktop
Run flutter doctor again to ensure all desired platforms have checkmarks.
flutter doctor -v
npx skills add rodydavis/从 Git 克隆安装 Flutter SDK下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer