Skip to content

Commit e431983

Browse files
committed
Updates for 22.04
1 parent 25fcddd commit e431983

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Download the Microsoft repository GPG keys
2+
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
3+
4+
# Register the Microsoft repository GPG keys
5+
dpkg -i packages-microsoft-prod.deb
6+
7+
# Update the list of products
8+
apt-get update
9+
10+
# Enable the "universe" repositories
11+
add-apt-repository universe
12+
13+
# Install PowerShell
14+
apt-get install -y powershell
15+
16+
# List version
17+
pwsh -v

0 commit comments

Comments
 (0)