Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

saiichihashimoto/redis-prebuilt

Repository files navigation

current version Build Status Coverage Status semantic-release Commitizen friendly

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-benchmark
redis-check-aof
redis-check-rdb
redis-cli
redis-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_DOWNLOADDIR
REDIS_VERSION

For Example:

export REDIS_DOWNLOADDIR='./' REDIS_VERSION=5.0.3
redis --port 400

Inspiration

This is a Redis version of https://github.com/winfinit/mongodb-prebuilt