mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 07:04:04 +00:00 
			
		
		
		
	Update install instructions
This commit is contained in:
		
							
								
								
									
										27
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								README.md
									
									
									
									
									
								
							| @@ -76,19 +76,31 @@ bat f - g  # output 'f', then stdin, then 'g'. | |||||||
|  |  | ||||||
| ## Installation | ## Installation | ||||||
|  |  | ||||||
| ### From binaries | ### On Ubuntu | ||||||
|  | *... and other Debian-based Linux distributions.* | ||||||
|  |  | ||||||
| Check out the [Release page](https://github.com/sharkdp/bat/releases) for | Download the latest `.deb` package from the [release page](https://github.com/sharkdp/bat/releases) | ||||||
| binary builds and Debian packages. | and install it via: | ||||||
|  | ``` bash | ||||||
|  | sudo dpkg -i bat_0.5.0_amd64.deb  # adapt version number and architecture | ||||||
|  | ``` | ||||||
|  |  | ||||||
| #### On Arch Linux | #### On Arch Linux | ||||||
|  |  | ||||||
| You can install via Pacman: | You can install [the `bat` package](https://www.archlinux.org/packages/community/x86_64/bat/) | ||||||
|  | from the official sources: | ||||||
|  |  | ||||||
| ```bash | ```bash | ||||||
| pacman -S bat | pacman -S bat | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ### On Void Linux | ||||||
|  |  | ||||||
|  | You can install `bat` via xbps-install: | ||||||
|  | ``` | ||||||
|  | xbps-install -S bat | ||||||
|  | ``` | ||||||
|  |  | ||||||
| #### On FreeBSD | #### On FreeBSD | ||||||
|  |  | ||||||
| You can install a precompiled [`bat` package](https://www.freshports.org/textproc/bat) with pkg: | You can install a precompiled [`bat` package](https://www.freshports.org/textproc/bat) with pkg: | ||||||
| @@ -112,9 +124,14 @@ You can install `bat` with [Homebrew](http://braumeister.org/formula/bat): | |||||||
| brew install bat | brew install bat | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ### From binaries | ||||||
|  |  | ||||||
|  | Check out the [Release page](https://github.com/sharkdp/bat/releases) for | ||||||
|  | prebuilt versions of `bat` for many different architectures. | ||||||
|  |  | ||||||
| ### From source | ### From source | ||||||
|  |  | ||||||
| If you want to build to compile `bat` from source, you need Rust 1.26 or | If you want to build `bat` from source, you need Rust 1.26 or | ||||||
| higher. You can then use `cargo` to build everything: | higher. You can then use `cargo` to build everything: | ||||||
|  |  | ||||||
| ```bash | ```bash | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user