---
description: Setup environment baru — init project, install deps, verify structure
---

# Setup Environment

## Steps

// turbo-all

1. **Verify Project Structure**
   Check existing files and folders:
   ```
   list_dir on the workspace root
   find_by_name for package.json, Cargo.toml, requirements.txt, go.mod
   ```

2. **Read Existing Config**
   If config files exist, read them:
   ```
   view_file on any found config files (package.json, .env.example, etc.)
   ```

3. **Install Dependencies**
   Based on detected project type:
   - **Node.js**: `npm install`
   - **Python**: `pip install -r requirements.txt` or `poetry install`
   - **Rust**: `cargo build`
   - **Go**: `go mod download`

4. **Verify Build**
   Run build command to verify everything works:
   - **Node.js**: `npm run build` or `npx tsc --noEmit`
   - **Python**: `python -c "import main"` or equivalent
   - **Rust**: `cargo check`

5. **Report to Ketua**
   Summarize: What's installed, what's the tech stack, any issues found.
