Windows 终端(Windows Terminal)是微软(Microsoft)在将命令行工具和 shell 的使用转变为令人愉快的体验方面的最新努力,类似于Linux和其他操作系统提供的体验。但是,如果您有兴趣了解它的工作原理以及如何使用它,您首先需要知道如何打开它。为了帮助您,这里有一个长长的列表,列出了您可以启动Windows 终端(Windows Terminal)的所有方法,无论是否具有管理员权限:
注意:(NOTE:)如果您使用 Windows 10,请确保您首先安装了Windows 终端(Windows Terminal)。以下是获取 Windows 终端应用程序(get the Windows Terminal app)的方法。如果您使用 Windows 11,则在使用Windows Terminal(Windows Terminal)之前您无需执行任何操作。
1.使用搜索打开Windows 终端(Windows Terminal)
启动Windows 终端(Windows Terminal)(Windows Terminal)的最快方法之一是使用搜索。在Windows 11中,单击“搜索(Search)”图标,然后键入“终端”(“terminal”)或“Windows 终端”。(“windows terminal.”)当您看到Windows 终端(Windows Terminal)搜索结果时,按键盘上的Enter 键(Enter),或者单击或点击搜索结果本身或右侧的“打开”选项。(Open)如果您需要以管理员权限运行此应用,请按搜索结果右侧的向下箭头,然后选择“以管理员身份运行”。(“Run as administrator.”)
在 Windows 11 中搜索终端
在Windows 10中,单击任务栏中的搜索框,然后键入“终端”(“terminal”)或“Windows 终端”。(“windows terminal.”)然后,单击或点击Windows 终端(Windows Terminal)搜索结果。您也可以单击或点击右侧的打开选项。(Open)要查看“以管理员身份运行”(“Run as administrator”)选项,请先按向下的箭头。
在 Windows 10 中搜索终端
2. 使用运行(Run)窗口打开Windows 终端(Windows Terminal)
另一种快速方法是通过按键盘上的Windows + R键打开“运行”窗口。(Run window)然后,键入wt并按Enter或单击OK。
运行命令 wt
3. 使用WinX菜单启动Windows 终端(Windows Terminal)(仅限Windows 11)
Windows 终端(Windows Terminal)默认包含在Windows 11(Windows 11)中,并被Microsoft推广为主要的命令行应用程序。该公司希望人们习惯并使用它而不是传统的命令提示符(Command Prompt)和PowerShell。因此,Windows 终端(Windows Terminal)包含在WinX菜单(WinX menu)中。要访问它,请右键单击(或按住)任务栏上的Windows徽标,或同时按键盘上的Windows + X键。在WinX菜单中,注意Windows Terminal和Windows Terminal (Admin)条目。第二个以管理员权限启动应用程序。在运行它之前,您还会看到一个UAC 提示(UAC prompt),您应该在其中按Yes,以便允许运行Windows 终端。(Windows Terminal)
WinX菜单可用于打开Windows 终端(Windows Terminal)
注意:此方法在(NOTE:)Windows 10中不起作用。
4.从开始菜单运行(Start Menu)Windows 终端(Windows Terminal)
这种方法比以前的方法要慢一些。如果您使用 Windows 11,请单击或点击开始(Start)(Windows 徽标),然后单击所有应用程序(All apps)。
打开开始菜单(Start Menu)并转到所有应用程序
将应用程序列表向下滚动(Scroll)到字母 W,然后按Windows 终端(Windows Terminal)快捷方式。要以管理员权限运行应用程序,请右键单击(或按住)其快捷方式并选择更多,(More,)然后选择“以管理员身份运行”。(“Run as administrator.”)当您看到 UAC 提示时,不要忘记按是。(Yes)
向下滚动(Scroll)到Windows 终端(Windows Terminal)快捷方式
在Windows 10中,所涉及的步骤略少:单击或点击开始(Start),然后将应用列表向下滚动到Windows 终端(Windows Terminal)。按快捷方式打开应用程序。
Windows 10开始菜单(Start Menu)中的Windows 终端(Windows Terminal)快捷方式
要以管理员权限启动它,请右键单击或按住Windows 终端(Windows Terminal)快捷方式,然后选择“More -> Run as administrator.”
5.通过创建快捷方式打开Windows 终端(Windows Terminal)
您还可以为Windows 终端(Windows Terminal)创建一个快捷方式以放置在桌面或其他地方。为此,请右键单击(或按住)桌面上的空白区域,然后选择“New item -> Shortcut.”
创建一个新的快捷方式
在创建快捷方式(Create Shortcut)向导中,键入wt作为位置,然后按照向导的其余部分进行操作。为快捷方式命名并将其保留在桌面上或将其移动到您想要的位置。
写(Write)wt 作为快捷方式的目标
如果您需要帮助快捷方式,请阅读我们关于在 Windows 中为应用程序、文件、文件夹和网页创建快捷方式的指南。(creating shortcuts for apps, files, folders, and web pages)
6.从命令提示符(Command Prompt)或PowerShell启动(PowerShell)Windows 终端(Windows Terminal)
如果您发现自己在命令提示符 (CMD)(Command Prompt (CMD))或PowerShell中,则可以从两者运行Windows 终端。(Windows Terminal)您所要做的就是输入命令wt并按Enter。
可以从CMD和(CMD)PowerShell打开(PowerShell)Windows 终端(Windows Terminal)
Windows 终端(Windows Terminal)立即作为一个单独的窗口打开。此外,如果CMD或PowerShell以管理员身份打开,Windows 终端(Windows Terminal)将继承相同的管理员权限。
7. 如何从文件资源管理器(File Explorer)的地址栏打开Windows 终端(Windows Terminal)
如果您正在使用文件资源管理器浏览(File Explorer)计算机上的文件和文件夹,您也可以从那里启动Windows 终端。(Windows Terminal)在文件资源管理器(File Explorer)顶部的地址栏中,键入wt并按键盘上的Enter 。
从文件资源管理器(File Explorer)运行Windows 终端(Windows Terminal)
Windows 终端(Windows Terminal)立即打开。不幸的是,您无法使用此方法以管理员身份打开Windows 终端。(Windows Terminal)
8.使用Cortana启动Windows 终端(Windows Terminal)
如果你的 Windows 11 计算机或设备上安装了麦克风,你还可以告诉Cortana你想要做什么。首先(First),通过在“开始”菜单(Start Menu)中按下她的快捷方式或使用Windows + C键盘快捷方式来启动Cortana 。然后,让Cortana “(Cortana)启动终端”("start the terminal")或“打开 Windows 终端”。("open the windows terminal.")
Cortana可以为你启动Windows 终端(Windows Terminal)
此方法适用于Windows 11和Windows 10。但是,您不能使用它以管理员身份打开Windows 终端。(Windows Terminal)
9.从任务管理器(Task Manager)中打开Windows 终端(Windows Terminal)
很少有人知道您也可以使用任务管理器(Task Manager)来启动应用程序,而不仅仅是终止它们的进程。您也可以使用它打开Windows 终端(Windows Terminal)。为此,请启动任务管理器(start the Task Manager)(按Ctrl + Shift + Esc)。如果您获得任务管理器(Task Manager)的紧凑视图,请先按更多详细信息(More details)。打开“文件(File)”菜单,选择“运行新任务”("Run new task,"),然后在“创建新任务”("Create new task")窗口中键入wt 。按键盘上的Enter或按OK按钮。如果你想运行Windows 终端(Windows Terminal)作为管理员,不要忘记在执行此操作之前检查“使用管理权限创建此任务”("Create this task with administrative privileges")设置。
可以从任务管理器(Task Manager)打开Windows 终端(Windows Terminal)
您最喜欢哪种打开Windows 终端(Windows Terminal)的方法?
这些是我们在Windows 10和Windows 11中启动(Windows 11)Windows 终端(Windows Terminal)的所有方法。如果您知道其他方法,请在评论中告诉我们。此外,请不要犹豫,告诉我们您更喜欢我们列表中的哪种方法以及原因。我们很想知道我们的读者最喜欢哪种方法。
9 ways to open the Windows Terminal -
The Windows Terminal is the latest effort from Microsoft in turning the use of command-line tools and shells into a pleasant experience, similar to the one offered by Linux and other operating systems. However, if you are interested in learning how it works and how to use it, you first need to know how to open it. To help you out, here’s a long list of all the ways in which you can start the Windows Terminal, with and without administrator privileges:
NOTE: If you use Windows 10, make sure that you have installed the Windows Terminal first. Here’s how to get the Windows Terminal app. If you use Windows 11, there’s nothing you need to do before using the Windows Terminal.
1. Open the Windows Terminal using search
One of the fastest ways to start the Windows Terminal is to use search. In Windows 11, click the Search icon and then type “terminal” or “windows terminal.” Press Enter on your keyboard when you see the Windows Terminal search result or click or tap the search result itself or the Open option on the right. If you need to run this app with administrator permissions, press the arrow pointing downwards on the right of the search result, and then choose “Run as administrator.”
Search for terminal in Windows 11
In Windows 10, click inside the search box from the taskbar and type “terminal” or “windows terminal.” Then, click or tap the Windows Terminal search result. You can also click or tap the Open option on the right. To see the “Run as administrator” option, first press on the arrow pointing downwards.
Search for terminal in Windows 10
2. Use the Run window to open the Windows Terminal
Another fast method is to open the Run window by pressing the Windows + R keys on your keyboard. Then, type wt and press Enter or click OK.
Run the command wt
3. Use the WinX menu to start the Windows Terminal (Windows 11 only)
The Windows Terminal is included by default in Windows 11 and promoted by Microsoft as the main command-line app. The company wants people to get used to it and use it instead of the traditional Command Prompt and PowerShell. Therefore, the Windows Terminal is included in the WinX menu. To access it, right-click (or press and hold) the Windows logo on the taskbar, or press the Windows + X keys simultaneously on the keyboard. In the WinX menu, notice the Windows Terminal and Windows Terminal (Admin) entries. The second one starts the app with administrator permissions. Before you can run it, you also see a UAC prompt where you should press Yes, so that the Windows Terminal is allowed to run.
The WinX menu can be used to open the Windows Terminal
NOTE: This method does not work in Windows 10.
4. Run the Windows Terminal from the Start Menu
This method is a bit slower than the previous ones. If you use Windows 11, click or tap on Start (the Windows logo) and then on All apps.
Open the Start Menu and go to All apps
Scroll down the list of apps to the letter W and press the Windows Terminal shortcut. To run the app with administrator permissions, right-click (or press and hold) on its shortcut and select More, followed by “Run as administrator.” Don’t forget to press Yes when you see the UAC prompt.
Scroll down to the Windows Terminal shortcut
In Windows 10, the steps involved are slightly fewer: click or tap Start, and then scroll down the list of apps to Windows Terminal. Press on the shortcut to open the app.
The Windows Terminal shortcut in the Windows 10 Start Menu
To start it with administrator permissions, right-click or press and hold the Windows Terminal shortcut, and then choose “More -> Run as administrator.”
5. Open the Windows Terminal by creating a shortcut
You can also create a shortcut for the Windows Terminal to place on the desktop or someplace else. To do that, right-click (or press and hold) on the empty space on the desktop and choose “New item -> Shortcut.”
Create a new shortcut
In the Create Shortcut wizard, type wt as the location and follow the rest of the wizard. Give the shortcut a name and keep it on the desktop or move it where you want.
Write wt as the target of the shortcut
If you need help shortcuts, read our guide on creating shortcuts for apps, files, folders, and web pages in Windows.
6. Start the Windows Terminal from Command Prompt or PowerShell
If you find yourself inside the Command Prompt (CMD) or PowerShell, you can run the Windows Terminal from both. All you have to do is enter the command wt and press Enter.
The Windows Terminal can be opened from CMD and PowerShell
The Windows Terminal is immediately opened as a separate window. Also, if CMD or PowerShell were opened as administrator, the Windows Terminal inherits the same administrator permissions.
7. How to open the Windows Terminal from File Explorer's address bar
If you are browsing the files and folders on your computer using File Explorer, you can start Windows Terminal from there too. In the address bar on the top side of File Explorer, type wt and press Enter on your keyboard.
Run the Windows Terminal from File Explorer
The Windows Terminal opens immediately. Unfortunately, you cannot open the Windows Terminal as an administrator using this method.
8. Start the Windows Terminal using Cortana
If you have a microphone installed on your Windows 11 computer or device, you can also tell Cortana what you want to do. First, start Cortana by pressing on her shortcut from the Start Menu or with the Windows + C keyboard shortcut. Then, ask Cortana to "start the terminal" or "open the windows terminal."
Cortana can start the Windows Terminal for you
This method works both in Windows 11 and Windows 10. However, you can’t use it to open the Windows Terminal as administrator.
9. Open the Windows Terminal from the Task Manager
Few people know that you can use the Task Manager to start apps too, not just terminate their processes. You can use it to open the Windows Terminal as well. To do that, start the Task Manager (press Ctrl + Shift + Esc). If you get the compact view of the Task Manager, first press More details. Open the File menu, select "Run new task," and then type wt in the "Create new task" window. Press Enter on your keyboard or press the OK button. If you want to run the Windows Terminal as an administrator, don’t forget to check the "Create this task with administrative privileges" setting before you do that.
The Windows Terminal can be opened from the Task Manager
Which is your favorite method for opening the Windows Terminal?
These are all the ways we know for starting the Windows Terminal in Windows 10 and Windows 11. If you know other methods, let us know in a comment. Also, don’t hesitate to tell us which method you prefer from our list and why. We’re curious to know which methods our readers like the most.