How to open a Windows store app from command line?

How can I run an app installed from Windows Store (https://github.com/microsoft/terminal) from the command line, please?


Solution 1:

start shell:AppsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App

By default an alias is enabled for Windows Terminal, so you can also use:

"%userprofile%\AppData\Local\Microsoft\WindowsApps\wt.exe"

Example app not from Microsoft:

start shell:AppsFolder\XINGAG.XING_xpfg3f7e9an52!App

Where the string XINGAG.XING_xpfg3f7e9an52
can be found as folder in %userprofile%\AppData\Local\Packages

Other ways of doing this are explained here

Solution 2:

An easy way is to create a shortcut and then from the command line to execute the ".lnk" file generated.