Files
thpeetz-notes/Quellen/Powershell.md
T

49 lines
1.1 KiB
Markdown

---
tags:
- IT/Development/Powershell
- IT/OS/Linux
- IT/OS/Windows
---
## Github
[oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh)
[poshcat.omp](https://github.com/simsrw73/poshcat.omp)
## Installation
### Linux
[Installing PowerShell on Ubuntu](https://learn.microsoft.com/en-us/powershell/scripting/install/install-ubuntu?view=powershell-7.5)
```
source /etc/os-release
wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y powershell
```
### Windows
## on-my-posh
[Installation Linux](https://ohmyposh.dev/docs/installation/linux)
```
curl -s https://ohmyposh.dev/install.sh | bash -s
```
[Change your prompt](https://ohmyposh.dev/docs/installation/prompt)
[Migrating Powershell Theme](https://ohmyposh.dev/docs/migrating)
### Configuration
[Customize](https://ohmyposh.dev/docs/installation/customize)
[My Ultimate PowerShell prompt with Oh My Posh and the Windows Terminal](https://www.hanselman.com/blog/my-ultimate-powershell-prompt-with-oh-my-posh-and-the-windows-terminal)