Update FAQ.md

This commit is contained in:
Markus Fleschutz 2024-10-14 14:02:48 +02:00 committed by GitHub
parent 4c394592aa
commit e5513eea5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,9 +30,9 @@
$ sudo ln -s /snap/bin/pwsh /usr/bin/pwsh $ sudo ln -s /snap/bin/pwsh /usr/bin/pwsh
``` ```
2. **Otherwise, visit:** https://github.com/PowerShell/PowerShell **and scroll down to: *Get PowerShell*.** 2. **Otherwise, visit:** https://github.com/PowerShell/PowerShell **and scroll down to: *Get PowerShell*.**
3. **Want to configure PowerShell as your default shell?** 3. **Want to set PowerShell as your default shell?**
* Make sure the file **/etc/shells** (contains valid login shells) has a **/usr/bin/pwsh** line, otherwise add it. * Make sure the file **/etc/shells** (contains valid login shells) has a **/usr/bin/pwsh** line, otherwise add it.
* Now execute: **`chsh -s /usr/bin/pwsh <USERNAME>`** (replace <USERNAME> by your user name). * Now execute: **`chsh -s /usr/bin/pwsh <USERNAME>`** (replace &lt;USERNAME&gt; by your user name).
</details> </details>
<details><summary>How to install PowerShell on MacOS?</summary> <details><summary>How to install PowerShell on MacOS?</summary>