3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ArchlinuxにPowerShellをインストール

Last updated at Posted at 2018-08-31

概要

パイプで文字列しか流せないのはそろそろ時代遅れなのでは?
LinuxにもPowerShellをインストールしようず。

普通にインストールする場合

AURからインストール用のスクリプトをダウンロード

$ git clone https://aur.archlinux.org/powershell-bin.git

powershell-binディレクトリができるので、移動。

$ cd powershell-bin

パッケージをビルドしてインストール

$ makepkg -si

起動してみる

$ pwsh

Dockerを利用する場合

イメージをダウンロード

sudo docker pull mcr.microsoft.com/powershell 

コンテナを立ち上げる

sudo docker run -it mcr.microsoft.com/powershell
3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?