Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
samtay authored Jun 5, 2019
1 parent 5792c83 commit eae2300
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ A terminal interface for Tetris

## installation

For MacOS, the binary attached to the GitHub release should suffice ([instructions](#github-release-binaries)). If you are on Debian or similar distros, you can try the Linux binary as well but no guarantees. See the other two options, installing from [source](#install-from-source) and [dex](#install-via-dex).
For MacOS, the binary attached to the GitHub release should suffice.
Arch Linux users can install from [AUR](https://aur.archlinux.org/packages/tetris-terminal-git/). If you are on Debian or similar distros, you can try the Linux binary as well but no guarantees. See the other two options, installing from [source](#install-from-source) and [dex](#install-via-dex).

#### github release binaries
Here is a quick way to get the one for your OS:
Expand All @@ -16,6 +17,12 @@ chmod +x tetris
sudo mv tetris /usr/local/bin/
```

#### install on Arch Linux
However you typically install from the AUR, e.g.
```bash
yaourt -S tetris-terminal-git
```

#### install from source
First [get stack](https://docs.haskellstack.org/en/stable/README/#how-to-install). Then
```bash
Expand All @@ -24,7 +31,6 @@ cd tetris
stack install tetris
```

Arch Linux users may install from [AUR](https://aur.archlinux.org/packages/tetris-terminal-git/).

#### install via dex
[dex](https://github.com/dockerland/dex) is a really cool application manager that lets you run executables as docker images, so that you don't need to worry about installing them or their dependencies directly.
Expand Down

0 comments on commit eae2300

Please sign in to comment.