Ubuntu powershellをインストールして実行する

Ubuntu powershellをインストールして実行する

Ubuntu20.04に、powershellをインストールして実行する手順を記述してます。

環境

  • OS Ubuntu20.04

powershellインストール

snapからインストール可能です。

sudo snap install powershell --classic

powershellを使用

インストールが終われば、powershellを使用できるようになります。

powershell

PowerShell 7.1.3
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS /home/testuser> 

powershellのコマンドが利用できるようになります。

Get-Help