Linux版Windows PowerShell を試す

Windows PowerShellLinuxMac で使えるようになっていることを知ったので、さくらレンタルサーバー上の Debian (8.6 jessie) にインストールしてみた。

GitHub - PowerShell/PowerShell: PowerShell for every system!では、Debian用のdebファイルは公開されていないので、Ubuntu用のを使う。

はじめ、Ubuntu 16.04 用のdebを試してみたが、依存関係のチェックで libicu55 が無いと引っかかった。
apt-cache search したところ、Debianには libicu52 までしかパッケージでは入れられないようなので諦め、Ubuntu 14.04用を使うことにした。

% wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb
% sudo dpkg -i powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb