diff --git a/website/docs/installation/fonts.mdx b/website/docs/installation/fonts.mdx index 97bf8298..0312f03b 100644 --- a/website/docs/installation/fonts.mdx +++ b/website/docs/installation/fonts.mdx @@ -4,6 +4,9 @@ title: Fonts sidebar_label: 🔤 Fonts --- +import Tabs from "@theme/Tabs"; +import TabItem from "@theme/TabItem"; + ### Nerd Fonts Oh My Posh was designed to use [Nerd Fonts][nerdfonts]. Nerd Fonts are popular fonts that are patched to include icons. @@ -13,6 +16,15 @@ To see the icons displayed in Oh My Posh, **install** a [Nerd Font][nerdfonts], #### Installation + + + Oh My Posh has a CLI to help you select and install a [Nerd Font][nerdfonts] (beta): :::caution Windows @@ -23,6 +35,22 @@ This command needs to be executed as admin. The fonts are installed system wide. oh-my-posh font install ``` + + + +If you're using Homebrew, you can tap the `homebrew-cask-fonts` repository and install Nerd Fonts from there instead: + +```bash +brew tap homebrew/cask-fonts # You only need to do this once! +brew search nerd-font # Search for font packages + +# EXAMPLE: Install the NF version of Fira Code +brew install --cask font-fira-code-nerd-font +``` + + + + #### Windows Terminal Once you have installed a Nerd Font, you will need to configure the Windows Terminal to use it. This can be easily done @@ -44,7 +72,6 @@ by modifying the Windows Terminal settings (default shortcut: `CTRL + SHIFT + ,` } ``` - #### VS Code When using Visual Studio Code, you will need to configure the integrated Terminal to make use of the Nerd Font as well. This can be done by changing the `Integrated: Font Family` value in the Terminal settings (default shortcut: `CTRL + ,` and search for `Integrated: Font Family` or via `Users` -> `Features` -> `Terminal`).