[Windows] PowerShell 버전 업데이트

windows 에서 개발중 powershell 에서 명령을 linux 처럼

PowerShell

처럼 연속 호출 하려고 했었다

안된다…..

찾아보니 해당 기능은 powershell 7 버전부터 지원! 한단다
(원래 windows, cmd, powershell 에서 지원하지 않아서 -and 같은 걸 써야함)

해서 window pc 의 powershell 의 버전확인

PowerShell

현재 사용중이던 버전

powershell 7버전 이상은 수동으로 찾아 원하는 경우 설치가 가능하다

https://docs.microsoft.com/ko-kr/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.1

https://github.com/PowerShell/PowerShell/releases/tag/v7.1.5

github 의 내용에 따라서 msi 패키지로 설치 할 수 있다

7.0 이상의 powershell 은 이하버전의 powershell 과 병행되서 유지 되므로
기존의window terminal 을 실행하거니 기본 powershell 의 실행시 버전을 고쳐 줘야 한다

window terminal 실행시 이렇게 셀렉터콤보를 열 수도 있지만 해당 설정에 진입해서

원하는 버전으로 바꿔주도록 하자

PowerShell

자알 된다!

굳!

업데이트는.. 좋은거다..


댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다