The only process that worked for me, however, was the snapd approach:
sudo apt update
sudo apt install snapd
sudo snap install powershell --classic
EDIT: to use powershell as a normal user, with the snap install, you need to add
/snap/bin to your pathdavid@mybox ~ $ sudo which pwsh /snap/bin/pwsh david@mybox ~ $ PATH=$PATH:/snap/bin
Distributor ID: LinuxMint
Description: Linux Mint 18.3 Sylvia
Release: 18.3
Codename: sylvia
Name Value
---- -----
PSVersion 6.1.3
PSEdition Core
GitCommitId 6.1.3
OS Linux 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
No comments:
Post a Comment