https://github.com/powershell/powershell-snap
https://github.com/powershell/powershell-snap
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/powershell/powershell-snap
- Owner: PowerShell
- License: mit
- Created: 2018-03-23T19:45:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-05T11:49:05.000Z (11 months ago)
- Last Synced: 2025-02-10T04:12:39.334Z (11 months ago)
- Language: PowerShell
- Size: 1.11 MB
- Stars: 31
- Watchers: 7
- Forks: 17
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# PowerShell Snap
## Package Migration
The ownership of the package is being migrated to Canonical. Please report issues with the package at [canonical/powershell-snap](https://github.com/canonical/powershell-snap).
For issues with PowerShell itself, please report the issues at [powershell/powershell](https://github.com/powershell/powershell)
## Achrived readme contents
PowerShell
This is the snap for PowerShell, "PowerShell for every system". It works on Ubuntu, Fedora, Debian, and other major Linux
distributions.
## Install
```sh
sudo snap install powershell --classic
```
```sh
sudo snap install powershell-preview --classic
```
([Don't have snapd installed?](https://snapcraft.io/docs/core/install))
## 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 `
## Code of Conduct
Please see our [Code of Conduct](.github/CODE_OF_CONDUCT.md) before participating in this project.
## Security Policy
For any security issues, please see our [Security Policy](.github/SECURITY.md).