Bats Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * bats =Installation on Mac= brew install bats =Installation on Linux= wget -O bat.zip https://github.com/sharkdp/bat/releases/download/v0....")
 
Line 9: Line 9:
=Installation on Linux=
=Installation on Linux=


Go to the GitHub releases page https://github.com/sstephenson/bats/releases and pull the latest release.
  wget -O bat.zip https://github.com/sharkdp/bat/releases/download/v0.8.0/bat-v0.8.0-x86_64-unknown-linux-musl.tar.gz
  wget -O bat.zip https://github.com/sharkdp/bat/releases/download/v0.8.0/bat-v0.8.0-x86_64-unknown-linux-musl.tar.gz
  tar -xvzf bat.zip -C /usr/local
  tar -xvzf bat.zip -C /usr/local
  mv /usr/local/bat-v0.8.0-x86_64-unknown-linux-musl /usr/local/bat
  mv /usr/local/bat-v0.8.0-x86_64-unknown-linux-musl /usr/local/bat
  alias bat='/usr/local/bat/bat'
  alias bat='/usr/local/bat/bat'

Revision as of 23:55, 17 December 2019

Internal

Installation on Mac

brew install bats

Installation on Linux

Go to the GitHub releases page https://github.com/sstephenson/bats/releases and pull the latest release.

wget -O bat.zip https://github.com/sharkdp/bat/releases/download/v0.8.0/bat-v0.8.0-x86_64-unknown-linux-musl.tar.gz
tar -xvzf bat.zip -C /usr/local
mv /usr/local/bat-v0.8.0-x86_64-unknown-linux-musl /usr/local/bat
alias bat='/usr/local/bat/bat'