Redis / Installation & setup
CLI tools & setup
Prepare your workspace, run a small example and check the result before starting the course.
A terminal is where you type commands. A runtime or compiler runs your code; a package manager installs project dependencies. Follow the tools and command surfaces named in this course’s guide.
Already set up? Continue to An In-Memory Data Structure Store →
BEFORE THE FIRST CODING TASK
Your computer, ready to learn.
A disposable local Redis instance
Create a new practice folder in your editor and open its integrated terminal there. Use a separate folder from personal or production projects. Prepare Docker using its official OS guide and select Linux containers where required. This fixture maps only to your computer and discards disposable container data when stopped.
Already configured? Run the verification steps and continue. Use the command surface labelled beside each snippet, such as your terminal or SQL console.
- 1
Check that both the Docker client and engine are running.
Windows · Terminaldocker versionWhat you should see: Both Client and Server sections are printed.
Something didn’t work?
Check engine startup before diagnosing Redis.
- 2
Start a new local-only container and keep this terminal open.
Windows · Terminaldocker run --rm --name pebells-redis -p 127.0.0.1:6379:6379 redis:8What you should see: Redis starts in the foreground and accepts connections on the mapped local port.
Something didn’t work?
Check occupied names/ports and image-download errors. This initial fixture is not production authentication or durability configuration.
- 3
In another terminal, check the server through its command-line client.
Windows · Terminaldocker exec pebells-redis redis-cli PINGWhat you should see: The response is PONG.
Something didn’t work?
Use the exact practice container name and wait for startup.
Check it yourself
Use the client to store and read a synthetic value, then explain why a stopped disposable container is not durable storage. Stop the foreground process with Ctrl+C when finished.
This is a self-check; it does not mark a lesson or course complete.
Official setup guides & version requirements
My workspace notes
Notes stay in this browser. They are not uploaded or assessed.