> For the complete documentation index, see [llms.txt](https://book.ferro.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ferro.pro/bsd/mac.md).

# Mac

* [HighDPI](/bsd/mac.md#highdpi)
* [pip](/bsd/mac.md#pip)
* [brew & gnu tools](/bsd/mac.md#brew--gnu-tools)
* [Hackintosh](/bsd/mac.md#hackintosh)
  * [Build an OS X boot disk](/bsd/mac.md#build-an-os-x-boot-disk)
  * [On QEMU/KVM](/bsd/mac.md#on-qemukvm)

## HighDPI

```
sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
```

## pip

```
wget https://bootstrap.pypa.io/3.2/get-pip.py
sudo python get-pip.py
```

## brew & gnu tools

```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
export PATH="$(brew --prefix coreutils)/libexec/gnubin:/usr/local/bin:$PATH"
brew install findutils --with-default-names
brew install gnu-indent --with-default-names
brew install gnu-sed --with-default-names
brew install gnutls
brew install grep --with-default-names
brew install gnu-tar --with-default-names
brew install gawk
```

## Hackintosh

### Build an OS X boot disk

<http://diskmakerx.com/>

### On QEMU/KVM

<https://github.com/kholia/OSX-KVM>
