2025-12-19 17:36:38 +08:00
## Development Environment Setup Prompts
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
> How to use: Copy the prompt corresponding to your device below, paste it into any AI chat box (ChatGPT, Claude, Gemini web version, etc.), and the AI will guide you step-by-step through the configuration.
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
**Prerequisite** : Please complete [01-Network Environment Configuration ](./01-网络环境配置.md ) first.
2025-12-18 00:50:45 +08:00
---
2025-12-19 17:36:38 +08:00
## 🪟 Windows User Prompts
2025-12-18 00:50:45 +08:00
### Option A: WSL2 + Linux Environment (Recommended)
2025-12-19 17:36:38 +08:00
> Suitable for: Users who want a complete Linux development experience with the best compatibility
2025-12-18 00:50:45 +08:00
```
2025-12-19 17:36:38 +08:00
You are a patient development environment setup assistant. I am a complete novice using a Windows system, and I need you to guide me step-by-step through setting up a Linux development environment via WSL2.
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
Please guide me in the following order, giving me only one step at a time, and waiting for my confirmation before proceeding to the next:
2025-12-18 00:50:45 +08:00
1. Install WSL2 (Windows Subsystem for Linux)
2. Install Ubuntu in WSL2
2025-12-19 17:36:38 +08:00
3. Configure the basic Ubuntu environment (update the system)
2025-12-18 00:50:45 +08:00
4. Install nvm and Node.js
5. Install Gemini CLI or other free AI CLI tools
6. Install basic development tools (git, python, build-essential, tmux)
7. Configure Git user information
2025-12-19 17:36:38 +08:00
8. Install a code editor (VS Code and configure the WSL extension)
2025-12-18 00:50:45 +08:00
9. Verify that all tools are working correctly
Requirements:
2025-12-19 17:36:38 +08:00
- For each step, provide specific commands and tell me where to run them (PowerShell or Ubuntu terminal).
- Explain the purpose of each command in simple, easy-to-understand language.
- If I encounter an error, help me analyze the cause and provide a solution.
- After completing each step, ask me if it was successful before continuing to the next.
2025-12-18 00:50:45 +08:00
Now, let's start with the first step.
```
2025-12-19 17:36:38 +08:00
### Option B: Windows Native Terminal
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
> Suitable for: Users who don't want to install WSL and develop directly on Windows
2025-12-18 00:50:45 +08:00
```
2025-12-19 17:36:38 +08:00
You are a patient development environment setup assistant. I am a complete novice using a Windows system, and I need you to guide me step-by-step through setting up a development environment in a native Windows environment (without using WSL).
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
Please guide me in the following order, giving me only one step at a time, and waiting for my confirmation before proceeding to the next:
2025-12-18 00:50:45 +08:00
1. Install Windows Terminal (if not already installed)
2. Install Node.js (via official installer or winget)
3. Install Git for Windows
4. Install Python
5. Install Gemini CLI or other free AI CLI tools
6. Configure Git user information
2025-12-19 17:36:38 +08:00
7. Install a code editor (VS Code)
2025-12-18 00:50:45 +08:00
8. Verify that all tools are working correctly
Requirements:
2025-12-19 17:36:38 +08:00
- For each step, provide specific commands or operation steps.
- Explain the purpose of each step in simple, easy-to-understand language.
- If I encounter an error, help me analyze the cause and provide a solution.
- After completing each step, ask me if it was successful before continuing to the next.
2025-12-18 00:50:45 +08:00
Now, let's start with the first step.
```
---
2025-12-19 17:36:38 +08:00
## 🍎 macOS User Prompts
2025-12-18 00:50:45 +08:00
```
2025-12-19 17:36:38 +08:00
You are a patient development environment setup assistant. I am a complete novice using a macOS system, and I need you to guide me step-by-step through setting up the Vibe Coding development environment from scratch.
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
Please guide me in the following order, giving me only one step at a time, and waiting for my confirmation before proceeding to the next:
2025-12-18 00:50:45 +08:00
1. Install Homebrew package manager
2025-12-19 17:36:38 +08:00
2. Use Homebrew to install Node.js
2025-12-18 00:50:45 +08:00
3. Install Gemini CLI or other free AI CLI tools
4. Install basic development tools (git, python, tmux)
5. Configure Git user information
2025-12-19 17:36:38 +08:00
6. Install a code editor (VS Code or Neovim)
2025-12-18 00:50:45 +08:00
7. Verify that all tools are working correctly
Requirements:
2025-12-19 17:36:38 +08:00
- For each step, provide specific commands.
- Explain the purpose of each command in simple, easy-to-understand language.
- If I encounter an error, help me analyze the cause and provide a solution.
- After completing each step, ask me if it was successful before continuing to the next.
2025-12-18 00:50:45 +08:00
Now, let's start with the first step.
```
---
2025-12-19 17:36:38 +08:00
## 🐧 Linux User Prompts
2025-12-18 00:50:45 +08:00
```
2025-12-19 17:36:38 +08:00
You are a patient development environment setup assistant. I am a complete novice using a Linux system (Ubuntu/Debian), and I need you to guide me step-by-step through setting up the Vibe Coding development environment from scratch.
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
Please guide me in the following order, giving me only one step at a time, and waiting for my confirmation before proceeding to the next:
2025-12-18 00:50:45 +08:00
1. Update the system and install basic dependencies (curl, build-essential)
2. Install nvm and Node.js
3. Install Gemini CLI or other free AI CLI tools
4. Install development tools (git, python, tmux)
5. Configure Git user information
2025-12-19 17:36:38 +08:00
6. Install a code editor (VS Code or Neovim)
2025-12-18 00:50:45 +08:00
7. Verify that all tools are working correctly
Requirements:
2025-12-19 17:36:38 +08:00
- For each step, provide specific commands.
- Explain the purpose of each command in simple, easy-to-understand language.
- If I encounter an error, help me analyze the cause and provide a solution.
- After completing each step, ask me if it was successful before continuing to the next.
2025-12-18 00:50:45 +08:00
Now, let's start with the first step.
```
---
## After Configuration
### CLI Tool Configuration Tips
2025-12-19 17:36:38 +08:00
AI CLI tools typically ask for confirmation by default; enabling full permission mode can skip this:
2025-12-18 00:50:45 +08:00
```bash
# Codex - Most powerful configuration
codex --enable web_search_request -m gpt-5.1-codex-max -c model_reasoning_effort = "high" --dangerously-bypass-approvals-and-sandbox
# Claude Code - Skip all confirmations
claude --dangerously-skip-permissions
2025-12-19 17:36:38 +08:00
# Gemini CLI - YOLO mode
2025-12-18 00:50:45 +08:00
gemini --yolo
```
### Recommended Bash Alias Configuration
2025-12-19 17:36:38 +08:00
Add the following configuration to `~/.bashrc` to launch AI with a single letter:
2025-12-18 00:50:45 +08:00
```bash
# c - Codex (GPT-5.1 most powerful mode)
alias c = 'codex --enable web_search_request -m gpt-5.1-codex-max -c model_reasoning_effort="high" --dangerously-bypass-approvals-and-sandbox'
# cc - Claude Code (full permissions)
alias cc = 'claude --dangerously-skip-permissions'
2025-12-19 17:36:38 +08:00
# g - Gemini CLI (YOLO mode)
2025-12-18 00:50:45 +08:00
alias g = 'gemini --yolo'
```
2025-12-19 17:36:38 +08:00
After configuration, execute `source ~/.bashrc` to apply the changes.
2025-12-18 00:50:45 +08:00
---
2025-12-19 17:36:38 +08:00
Once the environment setup is complete, proceed to the next step:
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
→ [03-IDE Configuration ](./03-IDE配置.md ) - Configure VS Code Development Environment