Home > Common Problem > body text

How to change the theme in Windows Terminal

王林
Release: 2023-05-03 14:28:06
forward
1217 people have browsed it

Unlike the old cmd.exe, Windows Terminal is customizable, allowing you to open PowerShell windows, connect to remote Azure terminals, and more. You can even customize Windows Terminal to look the way you want (or need) to see it.

If you have trouble viewing the text results of commands you launch, you may be wondering how to customize the Windows Terminal application to fit your needs. This tutorial will show you how.

How to change the font in Windows Terminal

By default, the Windows Terminal application uses Consolas as the default font for new Windows PowerShell tabs. However, you can customize Windows Terminal to use any supported system font on Windows 11.

Change the font in Windows Terminal:

  1. Open the Start menu and press TerminalApps.
    如何在 Windows 终端中更改主题
  2. In the terminal window, press the drop-down arrow on the tab bar.
  3. Press to set .
    如何在 Windows 终端中更改主题
  4. In Settings, select your default profile in the left menu. For most users this will be Windows PowerShell.
  5. Select the appearance on the right.
    如何在 Windows 终端中更改主题
  6. In Appearance, select a new font from the Font face drop-down menu.
  7. If you want to use a custom font, select the Show all fonts checkbox and select a font.
  8. Press to save to confirm.

如何在 Windows 终端中更改主题

#The font you selected should appear automatically. If not, close the terminal window and restart it. Don't see the font you want? You can always install new fonts on Windows 11 first.

How to change the Windows Terminal font size

You can also change the font size in Windows Terminal. For example, if you have difficulty viewing text, this will help make it easier to read. To change the font size in Windows Terminal:

  1. Open the Start Menu and click on the Terminal application (or search manually first ).
    如何在 Windows 终端中更改主题
  2. In the Terminal window, press the arrow icon on the tab bar.
  3. Next, click Settings.
    如何在 Windows 终端中更改主题
  4. Select Windows PowerShell (or your default profile) on the left.
  5. On the right, select the Appearance option.
    如何在 Windows 终端中更改主题
  6. Change the Font Size value to suit your needs. By default, this is set to 12.
  7. When finished, press Save to apply the changes.

如何在 Windows 终端中更改主题

#Changes to font size in Windows Terminal should appear immediately. If not, restart the application to see the changes.

How to change font weight in Windows Terminal

The last text setting you can change is font weight. For example, you can make text thicker, lighter, or darker. To change the Windows Terminal font weight:

  1. Open the Start menu and select Terminal.
    如何在 Windows 终端中更改主题
  2. Press the arrow icon in the Terminal window.
  3. Click Settings.
    如何在 Windows 终端中更改主题
  4. Press Windows PowerShell >Appearance.
    如何在 Windows 终端中更改主题
  5. In the Font Weight drop-down menu, select your preferred option (e.g. Bold)
  6. Press SaveConfirm.

如何在 Windows 终端中更改主题

#Changes to font weight will appear immediately.

The above is the detailed content of How to change the theme in Windows Terminal. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template