# Setup console with posh-git

```
winget install JanDeDobbeleer.OhMyPosh

Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser -RequiredVersion 2.0.412

# If you are using PowerShell Core, install PSReadline:
Install-Module -Name PSReadLine -Scope CurrentUser -Force -SkipPublisherCheck

Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme paradox
```

If you have issues and see blocks in the terminal, you may need to make sure what fonts are loaded and possibly edit your vs code settings:

<img src="/files/gz24646OFlpkdJvZXqO0" alt="" data-size="original">

![](/files/eo8breXGaAV2Q9yDE21y)

References:

* <https://ohmyposh.dev/docs/fonts>
* <https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ploegert.gitbook.io/til/os/win/powershell/setup-console-with-posh-git.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
