The ownership of the package is being migrated to Canonical. Please report issues with the package at canonical/powershell-snap. For issues with PowerShell itself, please report the issues at powershell/powershell
This is the snap for PowerShell, "PowerShell for every system". It works on Ubuntu, Fedora, Debian, and other major Linux distributions.
sudo snap install powershell --classicsudo snap install powershell-preview --classic- Ubuntu 20.04 is not working with the
powershellpackage.- The work around is to use the
powershell-previewpackage.
- The work around is to use the
- Some native libaries cause incompatible libarires to be loaded. Because the snap file system the readonly, there is no real workaround for this.
libmialways causes for this type of issue and is responsible for:- PowerShell remoting commands that don't invole
-Hostname
- PowerShell remoting commands that don't invole
- Run
whereis pwsh-previewif,/snap/bin/pwsh-previewis 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>
Please see our Code of Conduct before participating in this project.
For any security issues, please see our Security Policy.
