determine installed version #23696

Closed
opened 2026-01-31 08:49:39 +00:00 by claunia · 7 comments
Owner

Originally created by @Tragen on GitHub (Oct 14, 2025).

Description of the new feature

wt.exe --version shows a message box which is a bit strange.
Could you add a parameter to show it in the terminal directly?

Proposed technical implementation details

There are different possibilities.
wt.exe --version
should show it on the command line.
If you don't want to change this parameter, add a
wt.exe --versioncl

Originally created by @Tragen on GitHub (Oct 14, 2025). ### Description of the new feature wt.exe --version shows a message box which is a bit strange. Could you add a parameter to show it in the terminal directly? ### Proposed technical implementation details There are different possibilities. wt.exe --version should show it on the command line. If you don't want to change this parameter, add a wt.exe --versioncl
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 08:49:39 +00:00
Author
Owner

@rakshit-verma1 commented on GitHub (Oct 15, 2025):

Why can't we directly use the following PowerShell snippet in our profile so the command is predefined and available in every session:

function wt-version {
(Get-AppxPackage Microsoft.WindowsTerminal).Version
}
Set-Alias wt.exe wt-version

@rakshit-verma1 commented on GitHub (Oct 15, 2025): Why can't we directly use the following PowerShell snippet in our profile so the command is predefined and available in every session: function wt-version { (Get-AppxPackage Microsoft.WindowsTerminal).Version } Set-Alias wt.exe wt-version
Author
Owner

@Tragen commented on GitHub (Oct 15, 2025):

This would only work inside PowerShell.
If you are running cmd and you try to get the version, this will fail.

@Tragen commented on GitHub (Oct 15, 2025): This would only work inside PowerShell. If you are running cmd and you try to get the version, this will fail.
Author
Owner

@Zeroes1 commented on GitHub (Oct 15, 2025):

and not work for WT portable version

@Zeroes1 commented on GitHub (Oct 15, 2025): and not work for WT portable version
Author
Owner

@rakshit-verma1 commented on GitHub (Oct 15, 2025):

ok can you assign me this issue i can try working on it

@rakshit-verma1 commented on GitHub (Oct 15, 2025): ok can you assign me this issue i can try working on it
Author
Owner

@zadjii-msft commented on GitHub (Oct 15, 2025):

I think ultimately this is a dup of #7258. With the console allocation policy that we added in windows (read #7337), this is actually doable now.

@zadjii-msft commented on GitHub (Oct 15, 2025): I think ultimately this is a dup of #7258. With the console allocation policy that we added in windows (read #7337), this is actually doable now.
Author
Owner

@Tragen commented on GitHub (Oct 15, 2025):

For me it doesn't look like dup. #7258 is about --help.
#7337 talks about the different possibilities to attach to a console or whatever, but I don't see how it's doable now?
How can I use it? Or do you mean its doable for terminal to do the right output?

@Tragen commented on GitHub (Oct 15, 2025): For me it doesn't look like dup. #7258 is about --help. #7337 talks about the different possibilities to attach to a console or whatever, but I don't see how it's doable now? How can I use it? Or do you mean its doable for terminal to do the right output?
Author
Owner

@DHowett commented on GitHub (Oct 22, 2025):

Right now, we aren't intending to provide the version for programmatic use. While we do have a solution which we could implement (#7335), we will need to wait a bit longer (like, 10 years?) for the Windows ecosystem to be fully saturated with the OS changes required to make a combination GUI+CLI application.

Out of curiosity: If you could determine the version, what would you do with that info?

@DHowett commented on GitHub (Oct 22, 2025): Right now, we aren't intending to provide the version for programmatic use. While we do have a solution which _we_ could implement (#7335), we will need to wait a bit longer (like, 10 years?) for the Windows ecosystem to be fully saturated with the OS changes required to make a combination GUI+CLI application. Out of curiosity: If you could determine the version, what would you do with that info?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23696