Better download instructions
This commit is contained in:
		
							parent
							
								
									efbc76684b
								
							
						
					
					
						commit
						89f93ef142
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		| 
						 | 
					@ -9,12 +9,9 @@ A terminal interface for Tetris
 | 
				
			||||||
For Mac and Linux, the binaries attached to the GitHub release should suffice.
 | 
					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:
 | 
					Here is a quick way to get the one for your OS:
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
# first log in as root
 | 
					curl -L https://github.com/samtay/tetris/releases/download/0.1.0/tetris-`uname -s`-`uname -m` -o tetris
 | 
				
			||||||
sudo -i
 | 
					chmod +x tetris
 | 
				
			||||||
# then download binary and apply permissions
 | 
					sudo mv tetris /usr/local/bin/
 | 
				
			||||||
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
 | 
					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
		Add a link
		
	
		Reference in a new issue