inblog logo
|
sxias
    환경세팅

    [환경세팅] 16. Windows Terminal 커스터마이징

    문정준's avatar
    문정준
    Jul 28, 2025
    [환경세팅] 16. Windows Terminal 커스터마이징
    Contents
    1. Windows PowerShell or Windows Terminal 실행2. Oh-My-Posh 설치3. PowerShell 프로필 파일 생성4. PowerShell 테마 추가 설정
    Windows로 눈이 편한 터미널 만들기 (Oh-My-Posh)
    윈도우에서 powershell, cmd 등 쉘 작업을 하면 눈이 아프다. 칙칙하기도 하고 불편한 점이 한두개가 아니다. 개인적으로 윈도우에서 쉘을 이용할때에는 Windows Terminal을 이용한다. 마소 스토어에서 설치가능하고, Windows 11에서는 기본 설치되어있다. Get Windows Terminal from the Microsoft Store The Windows Terminal is a modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL. Its main featur..
    Windows로 눈이 편한 터미널 만들기 (Oh-My-Posh)
    https://blog.omoknooni.me/44
    Windows로 눈이 편한 터미널 만들기 (Oh-My-Posh)

    1. Windows PowerShell or Windows Terminal 실행

    notion image
     

    2. Oh-My-Posh 설치

    • Windows Store에서도 설치 가능
    winget install JanDeDobbeleer.OhMyPosh
    notion image
     
    • 동의 완료 후 다운로드가 끝나면 $HOME > Appdata > Local > Programs > oh-my-posh > themes 위치에 테마가 설치됨
    notion image
     
    • 원하는 테마는 oh-my-posh 공식 홈페이지의 Themes에서 확인
    Themes | Oh My Posh
    Oh My Posh comes with many themes included out-of-the-box. Below are some screenshots of the more common themes.
    Themes | Oh My Posh
    https://ohmyposh.dev/docs/themes#catppuccin
     
    • 추가로 Nerd Font가 필요하기 때문에 원하는 폰트도 설치
    Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher
    Iconic font aggregator, collection, & patcher: 9,000+ glyph/icons, 60+ patched fonts: Hack, Source Code Pro, more. Popular glyph collections: Font Awesome, Octicons, Material Design Icons, and more
    Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher
    https://www.nerdfonts.com/font-downloads
    Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher

    3. PowerShell 프로필 파일 생성

    • 다음 명령어 입력
    notepad $PROFILE
     
    • 파일이 없다고 뜨고 새 메모장이 생성될 경우 취소하고 다음 명령어 입력
    New-Item -Path $PROFILE -Type File -Force
     
    • 파일이 생성되었다는 명령이 뜨면 해당 경로의 파일 열기
      • 아래 커맨드 입력 후 저장
    oh-my-posh init pwsh --config '[로컬에 설치된 테마파일 경로]' | Invoke-Expression
    notion image
     
    • 저장 후 메모장과 shell을 모두 종료하고 다시 shell 실행
    notion image
     
    • 스크립트를 실행하지 못했다는 경고문이 뜰 경우, shell을 관리자 모드로 직접 실행한 후 다음 명령어 입력
    Set-ExecutionPolicy RemoteSigned
    • 모두 동의 (A) 후 shell 재시작 시 반영됨
     

    4. PowerShell 테마 추가 설정

    • PowerShell 설정 진입
    notion image
     
    • 기본값 → 모양 진입
    notion image
     
    • 원하는 색 구성표, 글꼴, 글꼴 크기 및 줄 높이 등 설정
      • 글꼴은 무조건 Nerd Font 중에서 선택
    notion image
     
    • 적용이 완료된 모습
    notion image
    Share article
    Contents
    1. Windows PowerShell or Windows Terminal 실행2. Oh-My-Posh 설치3. PowerShell 프로필 파일 생성4. PowerShell 테마 추가 설정

    Sxias ㆍ a32176740@gmail.com

    RSS·Powered by Inblog