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

문정준's avatar
Jul 28, 2025
[환경세팅] 16. Windows Terminal 커스터마이징

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에서 확인
 
  • 추가로 Nerd Font가 필요하기 때문에 원하는 폰트도 설치

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

sxias