← ClaudeAtlas

dev-env-guidelisted

Guide for finding SDKs/tools via environment variables, and auto-configuring PATH and env vars when installing or uninstalling development tools. Use whenever locating, installing, uninstalling, or configuring any SDK, compiler, runtime, package manager, or build tool — or when PATH/env var setup is needed.
is-cau/dev-env-guide · ★ 0 · Code & Development · score 72
Install: claude install-skill is-cau/dev-env-guide
# Dev Env Guide ## Core Principle When locating SDKs, tools, runtimes, or executables, **always check environment variables first** before falling back to filesystem search (grep/find). ## Step 1: Check Environment Variables ### On Windows (PowerShell) ```powershell # List all environment variables (shows full values, no truncation) Get-ChildItem env: | Format-List Name, Value # Check a specific variable $env:VARIABLE_NAME # Find executable in PATH where.exe <command> ``` ### On macOS / Linux (Bash) ```bash # List all environment variables env | sort # Check a specific variable echo $VARIABLE_NAME # Find executable in PATH (command -v is POSIX standard, which as fallback) command -v <command> || which <command> ``` ## Step 2: Check Common SDK-Specific Environment Variables | SDK / Tool | Environment Variables | | ------------- | ------------------------------------------------ | | Java / JDK | `JAVA_HOME`, `JDK_HOME` | | Python | `PYTHON_HOME`, `PYTHONPATH` | | Conda | `CONDA_PREFIX`, `CONDA_EXE` | | venv | `VIRTUAL_ENV` | | Node.js | `NODE_HOME`, `NODE_PATH`, `NVM_DIR` | | Go | `GOROOT`, `GOPATH` | | Android SDK | `ANDROID_HOME`, `ANDROID_SDK_ROOT` | | Flutter | `FLUTTER_HOME`, `FLUTTER_ROOT` | | Dart