redis-server --version
redis-cli --version
apt-get install build-essential
git clone https://github.com/RedisJSON/RedisJSON.git
git checkout v1.0.3
cd rejson/
make
cd src/
mkdir /etc/redis/modules/
mv rejson.so /etc/redis/modules/
loadmodule /etc/redis/modules/rejson.so
service redis-server restart
--
For version 2.2.0 on ubuntu 20
https://gist.github.com/britisharmy/ca0c3e37be4b20ccf2f9fc802c52ed63