PowerShell-Snap

MIT License

Stars
29
Committers
12

Install

sudo snap install powershell --classic
sudo snap install powershell-preview --classic

(Don't have snapd installed?)

Known Issues

  • Ubuntu 20.04 is not working with the powershell package.
    • The work around is to use the powershell-preview package.
  • Some native libaries cause incompatible libarires to be loaded. Because the snap file system the readonly, there is no real workaround for this.
    • libmi always causes for this type of issue and is responsible for:
      • PowerShell remoting commands that don't invole -Hostname

Alias Troubleshooting

  • Run whereis pwsh-preview if, /snap/bin/pwsh-preview is not returned, Snap has not created the alias.
  • If Snap has created the alias, and it is not working, you may need to reboot (or logout and back in) before it will work.
  • If Snap has not created the alias, you can create the alias with sudo snap alias <packagename> <aliasname>

Code of Conduct

Please see our Code of Conduct before participating in this project.

Security Policy

For any security issues, please see our Security Policy.