[
    {
        "role": "user",
        "content": "how%20do%20I%20luanch%20claud%20code%20from%20the%20windows%20terminal"
    },
    {
        "role": "assistant",
        "content": "If by \u201cclaud code\u201d you meant **Claude Code** (Anthropic\u2019s AI coding assistant) you can run it from Windows Terminal / PowerShell. Here\u2019s how to install it and launch it correctly. If you meant something else, let me know and I\u2019ll tailor the instructions.\n\n---\n\n### \ud83d\udee0\ufe0f Steps to install and launch Claude Code on Windows\n\n1. **Open PowerShell as Administrator**  \n   - Right-click Start \u2192 Windows Terminal / PowerShell \u2192 *Run as administrator*.  \n   - If you\u2019ve got policies blocking execs, you may need to set the execution policy:\n\n     ```powershell\n     Set-ExecutionPolicy RemoteSigned -Scope CurrentUser\n     ```\n\n2. **Install Claude Code CLI**  \n   Use the official installer script. In PowerShell run:\n\n   ```powershell\n   irm https://claude.ai/install.ps1 | iex\n   ```\n\n   This installs the `claude` command so you can use it from any terminal. ([support.claude.com](https://support.claude.com/en/articles/14552382-your-first-day-in-claude-code?utm_source=openai))\n\n3. **Close & open a fresh terminal window**  \n   After install, close PowerShell / terminal, then start Windows Terminal or PowerShell again so PATH updates take effect. ([support.claude.com](https://support.claude.com/en/articles/14552646-troubleshoot-claude-code-installation-and-authentication?utm_source=openai))\n\n4. **Verify installation & version**  \n   Run:\n\n   ```powershell\n   claude --version\n   ```\n\n   If it prints a version, you're good. If it says \"command not found\", you may need to add the install path to your PATH manually. On Windows it installs to `%USERPROFILE%\\.local\\bin\\claude`. ([support.claude.com](https://support.claude.com/en/articles/14554922-claude-code-user-faq?utm_source=openai))\n\n5. **Using Claude Code on a project**  \n   Navigate to your project folder in terminal:\n\n   ```powershell\n   cd path\\to\\your\\project\n   claude\n   ```\n\n   This will open Claude Code in that directory and you can start interacting (writing, editing, etc.) from the terminal. ([claudecode.jp](https://claudecode.jp/en/docs/claudecode/overview?utm_source=openai))\n\n---\n\n### \ud83d\udd27 Optional: Use PowerShell-native tool\n\nStarting May 2026, Claude Code added support for a native PowerShell tool (no need for Git-for-Windows / Bash) which gives better integration on Windows. To enable it:\n\n```powershell\n$env:CLAUDE_CODE_USE_POWERSHELL_TOOL = \"1\"\n```\n\nYou can make that permanent by adding it to your PowerShell profile. ([claudcod.com](https://claudcod.com/blog/claude-code-windows-powershell/?utm_source=openai))\n\n---\n\n### \u2705 Summary\n\n- Install via `install.ps1`.\n- Relaunch terminal so `claude` is in PATH.\n- Run `claude` inside your project folder in any terminal.\n- Use the native PowerShell mode if you want smoother integration.  \n\nIf it\u2019s not working, send me the exact error message, and I\u2019ll help you troubleshoot!"
    }
]