terminal: wt Command does not open windows terminal

Environment

Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.6.2951.0



Steps to reproduce

Just update WT I think…

Expected behavior

Opens Windows Terminal

Actual behavior

Nothing, just a error saying this command does not exist.

wt : Le terme «wt» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme
exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct
et réessayez.
Au caractère Ligne:1 : 1
+ wt
+ ~~
    + CategoryInfo          : ObjectNotFound: (wt:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

I bumped into this issue as well after Windows Terminal was updated.

Repairing the app from App & features works for me: image

Make sure %USERPROFILE%\AppData\Local\Microsoft\WindowsApps is in PATH too.

So, about six month ago, I installed it myself from GitHub, last week, I re-installed it with the windows store, to get back a clean config.json.

I restarted my computer few times during this last week and everything just worked fine until yesterday (I use it literally every day in atom or VSC with open terminal here).

So I can’t see anything else than a little mysterious auto-update.

Here is the wt.exe, if I just add WindowsApps to my path it will probably fix it, thank you, but I hope I’m not the only one to have that issue…

image

PS: thank you for the WT version and sorry for the French UI 😉

Update

WindowsApps is already in my path !? image

BUT I have no USERPROFILE in my variables… image

Update number 2 (yeah sorry that’s not pretty…)

So I checked the versions and no updates since 16 days, so two options :

  1. Updates are delayed on the Windows Store
  2. I’m just too stupid and I changed something on my computer… (most likely…)

@stef011 Did you install the terminal from the store? Or from another source (chocolatey, .msix directly from github)?

You can find the version number in the “About” dialog:

image

I know I’ve seen this before where the execution aliases of the WSL distros can just disappear sometimes.

Is wt in C:\Users\<your username>\AppData\Local\Microsoft\WindowsApps?

I just needed to add WindowsApps path to PATH variable manually. Thanks alot 😃

Try ‘Advanded Options’, it has a ‘RESET’ option… AdvancedOptions