redis Getting started with redis Redis "Hello World"


First you need to install and start your Redis server, check the link below that can help you to install redis on you server or local machine.

Installation and Setup

Now open your command prompt and run command redis-cli :

To save first set >SET 'keyname' then 'value'> SET hkey "Hello World!"

Press Enter you should see


Then enter:

GET hkey

you should see:

"Hello World!"

Screen output example:

Screen output example