Skip to content

Instantly share code, notes, and snippets.

@erdii
Created September 24, 2017 19:01
Show Gist options
  • Select an option

  • Save erdii/01864e9b10f7ae3267307af8e41157c3 to your computer and use it in GitHub Desktop.

Select an option

Save erdii/01864e9b10f7ae3267307af8e41157c3 to your computer and use it in GitHub Desktop.
build and install only redis-cli
#!/bin/sh
cd $(mktemp -d) && \
wget http://download.redis.io/redis-stable.tar.gz && \
tar -xvzf redis-stable.tar.gz && \
cd redis-stable && \
make && \
sudo cp src/redis-cli /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment