@@ -81,21 +81,20 @@ bat -n main.rs # show line numbers (only)
81bat f - g # output 'f', then stdin, then 'g'.
81bat f - g # output 'f', then stdin, then 'g'.
84−## Installation
84+## インストール
86### On Ubuntu
86### On Ubuntu
87−*... and other Debian-based Linux distributions.*
87+*... や他のDebianベースのLinuxディストリビューション*
89+最新の `.deb` パッケージを[こちら](https://github.com/sharkdp/bat/releases)からダウンロードして、インストールしてください:
89−Download the latest `.deb` package from the [release page](https://github.com/sharkdp/bat/releases)
92sudo dpkg -i bat_0.9.0_amd64.deb # adapt version number and architecture
92sudo dpkg -i bat_0.9.0_amd64.deb # adapt version number and architecture
95### On Arch Linux
95### On Arch Linux
97−You can install [the `bat` package](https://www.archlinux.org/packages/community/x86_64/bat/)
97+[Arch Linuxの公式リソース](https://www.archlinux.org/packages/community/x86_64/bat/)からインストールできます。
98−from the official sources:
101pacman -S bat
100pacman -S bat
@@ -103,20 +102,21 @@ pacman -S bat
104### On Void Linux
103### On Void Linux
106−You can install `bat` via xbps-install:
105+xbps-ininstall経由で `bat` をインストールできます。
108xbps-install -S bat
108xbps-install -S bat
111### On FreeBSD
111### On FreeBSD
113−You can install a precompiled [`bat` package](https://www.freshports.org/textproc/bat) with pkg:
113+事前にコンパイル済みである[pkg](https://www.freshports.org/textproc/bat)をインストールできます:
116pkg install bat
116pkg install bat
119−or build it on your own from the FreeBSD ports:
119+または、FreeBSDのportsから自身でビルドすることも可能です:
122cd /usr/ports/textproc/bat
122cd /usr/ports/textproc/bat
@@ -125,7 +125,7 @@ make install
126### Via nix
126### Via nix
128−You can install `bat` using the [nix package manager](https://nixos.org/nix):
128+`bat` を[nix package manager](https://nixos.org/nix)経由でインストールすることができます:
131nix-env -i bat
131nix-env -i bat
@@ -135,13 +135,16 @@ nix-env -i bat
136You can install `bat` with zypper:
136You can install `bat` with zypper:
138+`bat` をzypperでインストールすることができます:
139zypper install bat
141zypper install bat
142### On macOS
144### On macOS
144−You can install `bat` with [Homebrew](http://braumeister.org/formula/bat):
146+[Homebrew](http://braumeister.org/formula/bat)でインストールすることができます:
147brew install bat
150brew install bat
@@ -149,8 +152,10 @@ brew install bat
150### On Windows
153### On Windows
152−You can download prebuilt binaries from the [Release page](https://github.com/sharkdp/bat/releases),
155+You can download prebuilt binaries from the [Release page],
153−or install it with [scoop](https://scoop.sh/):
156+or install it with :
158+事前にビルド済みのバイナリを[リリースページ](https://github.com/sharkdp/bat/releases)からダウンロードすることができます。または、[scoop](https://scoop.sh/)でインストールすることも可能です。
156scoop install bat
161scoop install bat
@@ -160,7 +165,9 @@ scoop install bat
161### Via Docker
166### Via Docker
163−There is a [Docker image](https://hub.docker.com/r/danlynn/bat/) that you can use to run `bat` in a container:
168+
169+コンテナ内で`bat` を使いたい方のために[Docker image](https://hub.docker.com/r/danlynn/bat/)が用意されています。
165docker pull danlynn/bat
172docker pull danlynn/bat
166alias bat='docker run -it --rm -e BAT_THEME -e BAT_STYLE -e BAT_TABS -v "$(pwd):/myapp" danlynn/bat'
173alias bat='docker run -it --rm -e BAT_THEME -e BAT_STYLE -e BAT_TABS -v "$(pwd):/myapp" danlynn/bat'
@@ -168,7 +175,7 @@ alias bat='docker run -it --rm -e BAT_THEME -e BAT_STYLE -e BAT_TABS -v "$(pwd):
169### Via Ansible
176### Via Ansible
171−You can install `bat` with [Ansible](https://www.ansible.com/):
178+[Ansible](https://www.ansible.com/)でインストールすることができます:
174# Install role on local machine
181# Install role on local machine
@@ -186,7 +193,7 @@ ansible-galaxy install aeimer.install_bat
186- [Ansible Galaxy](https://galaxy.ansible.com/aeimer/install_bat)
193- [Ansible Galaxy](https://galaxy.ansible.com/aeimer/install_bat)
187- [GitHub](https://github.com/aeimer/ansible-install-bat)
194- [GitHub](https://github.com/aeimer/ansible-install-bat)
189−This should work with the following distributions:
196+これは以下のディストリビューションで動作するはずです:
190- Debian/Ubuntu
197- Debian/Ubuntu
191- ARM (eg. Raspberry PI)
198- ARM (eg. Raspberry PI)
192- Arch Linux
199- Arch Linux
@@ -196,21 +203,20 @@ This should work with the following distributions:
197### From binaries
204### From binaries
199−Check out the [Release page](https://github.com/sharkdp/bat/releases) for
206+
200−prebuilt versions of `bat` for many different architectures. Statically-linked
207+多くの異なるアーキテクチャのためのプレビルドバージョンを[リリースページ](https://github.com/sharkdp/bat/releases)からチェックしてみてください。静的にリンクされている多くのバイナリも利用できます: ファイル名に `musl` を含むアーカイブを探します。
201−binaries are also available: look for archives with `musl` in the file name.
203### From source
209### From source
205−If you want to build `bat` from source, you need Rust 1.29 or
211+
206−higher. You can then use `cargo` to build everything:
212+`bat` をソースからビルドしたいならば、Rust 1.29 以上の環境が必要です。そして、 `cargo` をビルドに対して使用します:
209cargo install bat
215cargo install bat
212−You may have to install `cmake` and the `libz` development package
218+
213−(`libz-dev` or `libz-devel`) in order for the build to succeed.
219+`cmake` と `libz` 開発パッケージ(`libz-dev` または `libz-devel`)が正しくビルドをするためにインストールする必要があるかもしれません。
215## Customization
221## Customization