mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update Raspbian installation instructions to create pwsh symlink (#6122)
* Update Raspbian installation instructions to create pwsh symlink
This commit is contained in:
committed by
Aditya Patwardhan
parent
fc627a1dba
commit
dc6fe2af29
@@ -630,6 +630,18 @@ tar -xvf ./powershell-6.0.1-linux-arm32.tar.gz -C ~/powershell
|
||||
~/powershell/pwsh
|
||||
```
|
||||
|
||||
Optionally you can create a symbolic link to be able to start PowerShell without specifying path to the "pwsh" binary
|
||||
|
||||
```sh
|
||||
# Start PowerShell from bash with sudo to create a symbolic link
|
||||
sudo ~/powershell/pwsh -c New-Item -ItemType SymbolicLink -Path "/usr/bin/pwsh" -Target "\$PSHOME/pwsh" -Force
|
||||
|
||||
# alternatively you can run following to create a symbolic link
|
||||
# sudo ln -s ~/powershell/pwsh /usr/bin/pwsh
|
||||
|
||||
# Now to start PowerShell you can just run "pwsh"
|
||||
```
|
||||
|
||||
### Uninstallation - Raspbian
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user