Skip to content

Commit

Permalink
Add installation instructions for prerequisites on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-trunov committed Nov 3, 2017
1 parent 0e999ee commit 22f510f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Others may work, but here are the versions I'm using.
| [Pygments][] | 2.2.0 |
| [XeLaTeX][] | 3.14159265-2.6-0.99998 (TeX Live 2017) |

### Installing prerequisites

- [macOS](prerequisites_macOS.md)

<!-- Named Links -->

Expand Down
42 changes: 42 additions & 0 deletions prerequisites_macOS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Installing prerequisites on macOS

We assume that you are using a fresh macOS installation.

## Install [Homebrew](http://brew.sh/) package manager

```shell
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

## Install major dependencies via Homebrew

```shell
brew install idris cabal-install git ghc python wget
```

## Install [MacTeX](http://www.tug.org/mactex/) via Homebrew

```shell
brew cask install mactex
```

## Install pandoc and pandoc-types via cabal

```shell
cabal update
cabal install pandoc pandoc-types
export PATH=$HOME/.cabal/bin:$PATH
```

You might want to add cabal to your `PATH` permanently.

## Install pygments

```shell
pip install --user Pygments
```

## Install Monoid font

Download the [Monoid font](http://larsenwork.com/monoid/) and put the `ttf`-files into `/Library/Fonts` directory.
Reboot to let macOS find the font.

0 comments on commit 22f510f

Please sign in to comment.