redis-download

Downloads and builds Redis

View the Project on GitHub

current version Build Status Coverage Status Mutation testing badge semantic-release Commitizen friendly

Downloads and builds Redis

Installation

npm install --global redis-download

Usage

redis-download --version 5.0.3 --download-dir /my/download/directory

Or:

const redisDownload = require('redis-download');

redisDownload({ version: '5.0.3', downloadDir: '/my/download/directory' })
	.then((downloadLocation) => {
		console.log(`Downloaded Redis: ${downloadLocation}`);
	});

version defaults to the latest version and downloadDir defaults to a temporary directory.

Inspiration

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