Terminal not reading updated environment variables #15972

Open
opened 2026-01-31 04:53:45 +00:00 by claunia · 0 comments
Owner

Originally created by @AaronLayton on GitHub (Nov 26, 2021).

Windows Terminal version

1.11.2921.0

Windows build number

10.0.22000.348

Other Software

Powershell 7.2.0
NodeJS 16.13.0

Steps to reproduce

https://user-images.githubusercontent.com/694964/143573699-23c42e1e-20c0-416a-af61-5129e092ecda.mp4

Expected Behavior

After installing NodeJS and opening a new Terminal instance, all the env variables should be updated.

The only way I managed to get this working if a restart of windows

Actual Behavior

No updates are being pulled through. It's like WT is keeping the processes running and not updating when I create a new instance.

Originally created by @AaronLayton on GitHub (Nov 26, 2021). ### Windows Terminal version 1.11.2921.0 ### Windows build number 10.0.22000.348 ### Other Software Powershell 7.2.0 NodeJS 16.13.0 ### Steps to reproduce https://user-images.githubusercontent.com/694964/143573699-23c42e1e-20c0-416a-af61-5129e092ecda.mp4 ### Expected Behavior After installing NodeJS and opening a new Terminal instance, all the env variables should be updated. The only way I managed to get this working if a restart of windows ### Actual Behavior No updates are being pulled through. It's like WT is keeping the processes running and not updating when I create a new instance.
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 04:53:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15972