Dab tsi yog Windows Terminal & Nws Ua Haujlwm Li Cas?

Cov txheej txheem:

Dab tsi yog Windows Terminal & Nws Ua Haujlwm Li Cas?
Dab tsi yog Windows Terminal & Nws Ua Haujlwm Li Cas?
Anonim

Windows Terminal yog daim ntawv thov davhlau ya nyob twg los ntawm Microsoft. Nws tsuas yog ua haujlwm nrog Windows 11 thiab Windows 10; nws yog built-in rau yav dhau los, tab sis koj yuav tsum rub nws manually rau Windows 10. Nws suav nrog cov yam ntxwv tshwj xeeb uas tsis pom hauv Microsoft lwm cov cuab yeej hais kom ua.

Tej zaum koj twb paub txog Command Prompt thiab PowerShell, ob qho kev siv kab hais kom ua uas tuaj nrog feem ntau ntawm Windows. Windows Terminal sib txawv rau ntau yam, tab sis feem ntau vim tias nws yog ib qho kev pab cuam uas muab cov neeg tsim khoom nkag tau sai rau cov cuab yeej thiab ntau dua.

Image
Image

Windows Terminal Nta

Windows Terminal zoo li yooj yim zoo nkauj thaum xub thawj siab ib muag, tab sis muaj ib tug puv tes ntawm cov yam ntxwv uas teem nws sib nrug los ntawm lwm yam Windows command-line cov cuab yeej:

  • puv npo hom
  • Tabbed interface los qhib ntau qhov piv txwv ntawm cov cuab yeej
  • Cov yuam sij luv kom qhib cov tab tshiab sai sai
  • Zoom nrog tus nas
  • Unicode thiab UTF-8 tus cwj pwm txhawb nqa tso cai siv emoji thiab tsis yog lus Askiv
  • GPU-accelerated text rendering engine
  • Cov ntsiab lus thiab cov qauv tuaj yeem tsim
  • Stylus support
  • Windows Subsystem rau Linux (WSL), SSH, PowerShell, Command Prompt, thiab Azure Cloud Plhaub txhawb

Yuav siv Windows Terminal li cas

Yog tias koj nyob ntawm Windows 11, tsuas yog tshawb rau Windows Terminal los ntawm Start menu rub nws, lossis ua rau nws los ntawm Cov Ntawv Siv Hluav Taws Xob.

Windows 10 cov neeg siv yuav tsum ua raws li cov kauj ruam no:

  1. Download thiab nruab Windows Terminal los ntawm Microsoft lub vev xaib.
  2. Siv qhov tshawb nrhiav hauv qab ntawm Windows txhawm rau nrhiav thiab xaiv Windows Terminal.
  3. PowerShell yuav qhib. Koj tuaj yeem sau cov lus txib ib yam li koj xav tau yog tias koj tau qhib Windows PowerShell ncaj qha.
  4. Txhawm rau qhib lwm lub PowerShell, siv lub cim ntxiv rau saum Windows Terminal. Los yog, txhawm rau tso cov cuab yeej sib txawv, xaiv tus xub nqes thiab xaiv cmd lossis Azure Cloud Plhaub.

    Image
    Image

Editing Windows Terminal Settings

Hloov cov chaw rau Windows Terminal yog ib qho yooj yim: Siv tus xub nqes rau saum qhov program, thiab tom qab ntawd xaiv Settings.

Image
Image

Muaj ntau txoj kev xaiv koj tuaj yeem kho qhov ntawd. Txhawm rau hloov kho cov chaw ntxiv, xaiv Qhib JSON cov ntaub ntawv los ntawm hauv qab ntawm lub vijtsam ntawd. Cov ntaub ntawv settings.json yuav qhib rau hauv koj cov ntawv sau ua ntej (zoo li Notepad, tab sis koj tuaj yeem siv cov ntawv nyeem sib txawv yog tias koj xav tau).

Microsoft muaj cov lus qhia rau kev siv Cov Chaw JSON cov ntaub ntawv. Tseem muaj cov piv txwv hloov kho ntawm no.

Lub Tswv Yim rau Kev Siv Windows Terminal

Lub plhaub qub yog Windows PowerShell, yog li txhua zaus koj qhib Windows Terminal, PowerShell yuav yog qhov khoom siv uas koj pom thawj zaug (koj tuaj yeem hloov qhov no hauv qhov chaw). Qhov no kuj txhais tau hais tias cov kos npe ntxiv ntawm ib sab ntawm cov tab nyob rau sab saum toj ntawm Windows Terminal yuav qhib PowerShell ib txwm, tsis hais lub cuab yeej koj tab tom siv tam sim no.

Muaj cov yuam sij luv uas koj siv tau los qhib ib yam khoom los ntawm cov ntawv qhia zaub mov sai. Cov no yog cov ntsiab lus tseem ceeb rau kev ua haujlwm no:

  • Ctrl+Shift+1 qhib Windows PowerShell
  • Ctrl+Shift+2 qhib Command Prompt
  • Ctrl + Ua haujlwm + 3 qhib Azure Cloud Plhaub
  • Ctrl+, qhib Chaw
  • Ctrl+Shift+F qhib lub thawv tshawb nrhiav

Siv lub Command Palette kev xaiv zaub mov (Ctrl+Shift+P) kom pom lwm cov shortcuts.

Windows Terminal xav tau Windows 10 version 18362.0 lossis siab dua. Yog tias koj tsis tuaj yeem nruab nws, hloov Windows mus rau qhov tseeb version.

Pom zoo: