用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rodydavis/skills --skill install-flutter-from-git命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | install-flutter-from-git |
| description | 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