Install redis prebuilt binaries using npm.
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.
npm install redis-prebuilt
# Now run it!
redis-server
# Other available commands:
redis-benchmark
redis-check-aof
redis-check-rdb
redis-cli
redis-sentinel
The latest version of Redis and ~/.redis-prebuilt are the defaults. You can set a desired version and download folder through environment variables:
REDIS_DOWNLOADDIR
REDIS_VERSION
For Example:
export REDIS_DOWNLOADDIR='./' REDIS_VERSION=5.0.3
redis --port 400
This is a Redis version of https://github.com/winfinit/mongodb-prebuilt