---
title: "Discussion on \"Claude Code on WSL: Put Relay Env Vars in the Linux Shell, Not Windows\" | Hashnode"
description: "Discussion on \"Claude Code on WSL: Put Relay Env Vars in the Linux Shell, Not Windows\". WSL runs Claude Code inside Linux. Relay env vars set in Windows PowerShell never reach that process.\n1. Open a WSL terminal\nUbuntu (or your distro) from Windows Terminal — not PowerShell alone.\n2. Se"
url: "https://hashnode.com/posts/claude-code-on-wsl-put-relay-env-vars-in-the-linux-shell-not-windows/6ad0d6771b1aaeb205d2d009"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Claude Code on WSL: Put Relay Env Vars in the Linux Shell, Not Windows](https://jliushi.hashnode.dev/claude-code-on-wsl-put-relay-env-vars-in-the-linux-shell-not-windows?utm_source=hashnode&utm_medium=feed)

WSL runs Claude Code inside Linux. Relay env vars set in Windows PowerShell never reach that process. 1. Open a WSL terminal Ubuntu (or your distro) from Windows Terminal — not PowerShell alone. 2. Se

Oct 15 · 1 min read · jliushi.hashnode.dev  
Read the article

-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#wsl](https://hashnode.com/tag/wsl)
-   [#ai-relay](https://hashnode.com/tag/ai-relay)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[江流石](https://hashnode.com/@jliushi)

@jliushi

  
[View profile](https://hashnode.com/@jliushi)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
