Install redis prebuilt binaries using npm. This module installs redis without having to compile anything.
Redis is an in-memory database that persists on disk.
Installation
npm install redis-prebuilt # Now run it! redis-server # Other available commands: redis-benchmarkredis-check-aofredis-check-rdbredis-cliredis-sentinel
Usage
The latest version of Redis and ~/.redis-prebuilt are the defaults. You can set a desired version and download folder through environment variables:
REDIS_DOWNLOADDIRREDIS_VERSION
For Example:
export REDIS_DOWNLOADDIR='./' REDIS_VERSION=5.0.3redis --port 400
Inspiration
This is a Redis version of https://github.com/winfinit/mongodb-prebuilt