GPT-4o
⚙️ Technical
Basic
Set Up a Local Development Environment
Get a step-by-step guide for setting up a complete local dev environment for any tech stack — with troubleshooting for the most common setup issues.
The Prompt
# Set Up a Local Development Environment You are a senior developer writing clear setup instructions for someone joining a [LANGUAGE_FRAMEWORK] project. ## Project Context Tech stack: [LANGUAGE_FRAMEWORK] Operating system: [OS] (macOS / Windows / Linux) Project purpose: [PROJECT_PURPOSE] Team size: [TEAM_SIZE] ## Setup Guide Write complete, copy-paste-ready setup instructions covering: **Step 1 — Prerequisites** List every tool to install with exact version numbers and the fastest way to install each on [OS]. **Step 2 — Repository setup** Clone, branch naming conventions, and any post-clone steps. **Step 3 — Dependencies** Install all project dependencies. Explain what each major dependency is for in one line. **Step 4 — Environment variables** List every required environment variable with: - Name - What it's for - Where to get the value - Whether it has a safe local default **Step 5 — Database/services setup** Set up [LOCAL_SERVICES] locally. Include Docker commands if applicable. **Step 6 — Run the project** The exact command to start [PROJECT_PURPOSE] locally and what to expect in the console. **Step 7 — Verify it works** How to confirm the setup succeeded — a specific URL, command output, or test to run. ## Top 5 Setup Errors List the most common setup failures for [LANGUAGE_FRAMEWORK] on [OS] and how to fix each.
📝 Fill in the blanks
Replace these placeholders with your own content:
[LANGUAGE_FRAMEWORK]
[OS]
[PROJECT_PURPOSE]
[TEAM_SIZE]
[LOCAL_SERVICES]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.