LoginSignup
2
0

More than 5 years have passed since last update.

WSL(Ubuntu18.04)にPowerShell Coreをインストール

Posted at

Windows Subsystem for LinuxにPowerShell Coreをインストールしてみた

時の、備忘録。

# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

# Register the Microsoft Ubuntu repository
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/16.04/prod.list

# Update the list of products
sudo -E apt-get update

# Install PowerShell
sudo -E apt-get install -y powershell

※sudoに「-E」オプションがあるのは、ログインユーザーの環境変数(proxyの設定)を読み込ませるため。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0