※ 참고 (2026년 기준) oh-my-posh 의 PowerShell 모듈 설치 방식은 폐지되었다. winget install JanDeDobbeleer.OhMyPosh 로 설치하고, $PROFILE 에 Import-Module posh-git 과 oh-my-posh init pwsh | Invoke-Expression 두 줄을 넣는다.
|
1 2 |
Install-Module posh-git -Scope CurrentUser Install-Module oh-my-posh -Scope CurrentUser |
|
1 2 |
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force } notepad.exe $PROFILE |
admin 권한으로
|
1 |
Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy RemoteSigned -Force |

