What Is CMatrix?

CMatrix is a simple but fun terminal program that makes your screen look like the green “digital rain” effect from The Matrix movies. It’s a cool way to make your terminal stand out or just enjoy a nostalgic hacker vibe.

In this tutorial, you’ll learn how to install and use CMatrix on a Shape.Host VPS running Ubuntu 24.04.


Step 1: Create a Cloud VPS on Shape.Host

Before installing anything, you need a cloud server to run Ubuntu and CMatrix. Here’s how to create one using Shape.Host:

Go to https://shape.host and log into your account (create one if you’re new).

Click “Create” from the dashboard.

Choose the Instance option.

Shape.host Resources dashboard with Create > Instance highlighted.

Select a data center location close to you or your target users.

Shape.host instance form with the data center location selector highlighted.

Pick a hosting plan — even the most basic plan is enough to run CMatrix.

Under Operating System, choose Ubuntu 24.04 (64-bit).

Shape.host instance form with the operating system image selector highlighted.

Click “Create Instance” and wait a few seconds.

Shape.host instance form with the Create Instance button highlighted.

Once the instance is created, go to the Resources section to find the public IP address of your instance. You will use this to connect to the instance remotely.

Shape.host Resources dashboard with the server IP address highlighted.

Step 2: Connect to Your VPS via SSH

To install CMatrix, first connect to your new Ubuntu VPS.

On Linux or macOS:

Open your terminal and type:

ssh root@your_server_ip

On Windows:

Use PuTTY or the Windows Terminal.

  • Host: your_server_ip
  • Username: root
  • Password: Use the one provided by Shape.Host

Once you’re in, you’re ready to roll.


Step 3: Update Your System

Let’s make sure everything is up-to-date:

apt update
Terminal showing APT package management commands and output.

Step 4: Install CMatrix

Now install CMatrix using this simple command:

apt install cmatrix
Terminal showing package installation trigger output.

Step 5: Run CMatrix

Try running it right away:

cmatrix

You’ll instantly see the green digital rain effect in your terminal.

CMatrix displaying columns of green characters in a terminal.

To exit, just press Ctrl + C.


Step 6: Check the Installed Version

To verify your installation or see what version is installed:

cmatrix -V
Terminal showing the CMatrix version.

Step 7: Customize CMatrix (Optional Fun Stuff)

CMatrix has several options you can mix and match. Here’s a breakdown:

OptionDescription
-sScreensaver mode — keeps running until a key is pressed
-bBold characters — makes text brighter
-C [color]Change color — try red, blue, yellow, green, cyan, etc.
-u [time]Speed — lower number = faster falling characters (in microseconds)
-aAsynchronous scroll — characters fall randomly
-rReverse direction — scrolls upward instead of downward

Step 8: Try an Awesome Custom Command

Here’s an example of a cool Matrix effect with a twist:

cmatrix -s -b -C red -u 50000 -a

This command:

  • Runs in screensaver mode (-s)
  • Uses bold text (-b)
  • Sets color to red (-C red)
  • Makes characters fall fast (-u 50000)
  • Scrolls randomly (-a)

Step 9: How to Stop CMatrix

Just press:

Ctrl + C

And you’ll return to your regular terminal prompt.

Hosting a project or experimenting with Linux? Shape.Host offers powerful, affordable Cloud VPS solutions — ideal for developers, students, and hobbyists.

Start your own server today with Shape.Host