コピペ用メモ
install-jq.sh
curl -sL "$(curl -sL https://api.github.com/repos/stedolan/jq/releases/latest | egrep -o 'https://github.com/stedolan/jq/releases/download/.*/jq-linux64')" |
sudo install /dev/stdin /tmp/jq &&
sudo mv /tmp/jq /usr/bin/
install-peco.sh
curl -sL "$(curl -sL https://api.github.com/repos/peco/peco/releases/latest | egrep -o 'https://github.com/peco/peco/releases/download/.*/peco_linux_amd64.tar.gz')" |
sudo tar xz \
-C /usr/bin/ \
--strip=1 \
'*/peco' \
--no-same-owner \
--no-same-permissions