Add somewhat paste-able instructions
This commit is contained in:
parent
db05487bef
commit
0c5562a500
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -9,10 +9,12 @@ A terminal interface for Tetris
|
|||
For Mac and Linux, the binaries attached to the GitHub release should suffice.
|
||||
Here is a quick way to get the one for your OS:
|
||||
```bash
|
||||
$ sudo -i
|
||||
$ curl -L https://github.com/samtay/tetris/releases/download/0.1.0/tetris-`uname -s`-`uname -m` > /usr/local/bin/tetris
|
||||
$ chmod +x /usr/local/bin/tetris
|
||||
$ exit
|
||||
# first log in as root
|
||||
sudo -i
|
||||
# then download binary and apply permissions
|
||||
curl -L https://github.com/samtay/tetris/releases/download/0.1.0/tetris-`uname -s`-`uname -m` > /usr/local/bin/tetris
|
||||
chmod +x /usr/local/bin/tetris
|
||||
exit
|
||||
```
|
||||
|
||||
For Windows, you have to install from source. First [get stack](https://docs.haskellstack.org/en/stable/README/#how-to-install). Then
|
||||
|
|
Loading…
Add table
Reference in a new issue