Ubuntu18.04에 PowerShell 7 설치하기


PowerShell 7 발표 Site: http://bit.ly/39rWvuL

PowerShell 7 다운로드 site: https://github.com/PowerShell/PowerShell/releases/tag/v7.0.0

1).deb 패키지 파일 다운로드하기
wget -q https://github.com/PowerShell/PowerShell/releases/download/v7.0.0/powershell-lts_7.0.0-1.ubuntu.18.04_amd64.deb

2)PowerShell-lts-7 설치하기
dpkg -i powershell-lts_7.0.0-1.ubuntu.18.04_amd64.deb

3)제품 목록 수정하기
apt update

4)PowerShell 실행하기
pwsh
$psversiontable
Get-Module -ListAvailable

5)다시 bash로 돌아가기
bash

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s