LoginSignup
1
1

More than 5 years have passed since last update.

jqとかpecoとか入れるワンライナー

Last updated at Posted at 2015-12-29

コピペ用メモ

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
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1