~iany/ Menu
  • Series
  • Tags
  1. Home
  2. Tags
  3. Environment Variables

Environment Variables

A collection of 2 articles

Fix Claude Desktop PATH with CLAUDE_ENV_FILE

Claude Code runs tools and shell commands on your behalf. Launched from a terminal, the CLI inherits your shell environment and everything just works. But under Claude Desktop, Claude Code is spawned from a GUI/desktop session that never sourced your interactive shell config—so if you rely on version managers like mise, asdf, or nix, the tools they install may not be on Claude’s PATH. The fix is a single setting: CLAUDE_ENV_FILE.

Updated Jul 01, 2026  •  3 min read

Envrc Alternative for PowerShell in Windows

This post introduces a solution for automatically setting up and tearing down shell environments for PowerShell in Windows. It is proposed as a potential alternative to the bash-based tool direnv, which, while effective at loading .envrc files in the current or nearest ancestor directory, has limited compatibility with PowerShell in Windows.

Updated Nov 22, 2025  •  3 min read

© 2026  •  ~iany/  •  CC-BY-SA 4.0