Skip to the workspace
Pebellslearn by building

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. 1

    Check that both the Docker client and engine are running.

    Windows · Terminal
    docker version

    What you should see: Both Client and Server sections are printed.

    Something didn’t work?

    Check engine startup before diagnosing Redis.

  2. 2

    Start a new local-only container and keep this terminal open.

    Windows · Terminal
    docker run --rm --name pebells-redis -p 127.0.0.1:6379:6379 redis:8

    What 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. 3

    In another terminal, check the server through its command-line client.

    Windows · Terminal
    docker exec pebells-redis redis-cli PING

    What 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.

Continue to An In-Memory Data Structure Store →
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.