Update Raspbian installation instructions to create pwsh symlink (#6122)

* Update Raspbian installation instructions to create pwsh symlink
This commit is contained in:
Andrew
2018-02-09 14:00:29 -08:00
committed by Aditya Patwardhan
parent fc627a1dba
commit dc6fe2af29
+12
View File
@@ -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