2021-04-24 03:58:23 -07:00
|
|
|
---
|
|
|
|
id: macos
|
|
|
|
title: macOS
|
|
|
|
sidebar_label: 🍏 macOS
|
|
|
|
---
|
|
|
|
|
|
|
|
import Tabs from "@theme/Tabs";
|
|
|
|
import TabItem from "@theme/TabItem";
|
2022-04-20 09:43:59 -07:00
|
|
|
import InstallHomebrew from "./homebrew.mdx";
|
2022-08-14 10:58:54 -07:00
|
|
|
import Next from "./next.mdx";
|
2021-04-24 03:58:23 -07:00
|
|
|
|
2022-03-15 16:32:45 -07:00
|
|
|
## Set up your terminal
|
2021-04-24 03:58:23 -07:00
|
|
|
|
2023-10-28 00:57:41 -07:00
|
|
|
As the standard terminal only supports [256 colors][256-colors], we advise using
|
2022-04-06 22:40:06 -07:00
|
|
|
[iTerm2][iterm2] or any other modern day macOS terminal that supports ANSI characters.
|
2021-04-24 03:58:23 -07:00
|
|
|
|
2021-12-19 02:20:27 -08:00
|
|
|
:::info
|
|
|
|
To display all icons, we recommend the use of a [Nerd Font][fonts].
|
|
|
|
:::
|
|
|
|
|
2024-05-25 12:51:10 -07:00
|
|
|
<Tabs
|
|
|
|
defaultValue="homebrew"
|
|
|
|
groupId="install"
|
|
|
|
values={[
|
|
|
|
{ label: 'homebrew', value: 'homebrew', },
|
|
|
|
{ label: 'MacPorts', value: 'macports', }
|
|
|
|
]
|
|
|
|
}>
|
|
|
|
<TabItem value="homebrew">
|
2021-11-27 11:58:33 -08:00
|
|
|
|
2021-11-25 23:51:29 -08:00
|
|
|
<InstallHomebrew />
|
2021-06-07 22:37:34 -07:00
|
|
|
|
2024-05-25 12:51:10 -07:00
|
|
|
</TabItem>
|
|
|
|
<TabItem value="macports">
|
|
|
|
|
|
|
|
You can install Oh My Posh via [MacPorts] which is maintained by the [community].
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo port selfupdate
|
|
|
|
sudo port install oh-my-posh
|
|
|
|
```
|
|
|
|
|
|
|
|
Oh My Posh will be installed at `/opt/local/bin/oh-my-posh`.
|
|
|
|
|
|
|
|
## Updating
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo port selfupdate
|
|
|
|
sudo port upgrade oh-my-posh
|
|
|
|
```
|
|
|
|
|
|
|
|
More details on the [ports page] for Oh My Posh.
|
|
|
|
|
|
|
|
</TabItem>
|
|
|
|
</Tabs>
|
|
|
|
|
2022-08-14 10:58:54 -07:00
|
|
|
<Next />
|
|
|
|
|
2023-02-26 06:28:45 -08:00
|
|
|
[256-colors]: /docs/configuration/colors#standard-colors
|
2023-10-28 00:57:41 -07:00
|
|
|
[iterm2]: https://iterm2.com
|
|
|
|
[fonts]: /docs/installation/fonts
|
2024-05-25 12:51:10 -07:00
|
|
|
[MacPorts]: https://www.macports.org
|
|
|
|
[ports page]: https://ports.macports.org/port/oh-my-posh
|
|
|
|
[community]: https://ports.macports.org/port/oh-my-posh/
|