Cockpit on Raspberry Pi: The Ultimate Monitoring Tool
I’ve tried many ways to monitor my Raspberry Pi remotely, and honestly, most tools felt either too complicated or too heavy for it. Then I discovered Cockpit. It’s much simpler than I expected. In this guide, I’ll show you exactly how I install it and use it to keep an eye on my Pi.
Cockpit is a lightweight, web-based management tool that provides real-time system monitoring, remote access, and service management. It is available through the official repository and can be installed using a simple apt command.
Cockpit is one of the easiest and most efficient ways to monitor and manage your Raspberry Pi remotely. In this article, you’ll learn how to monitor system stats, manage services, and utilize Cockpit to its fullest potential. Let’s get started!
If you’re new to Raspberry Pi or Linux, I’ve got something that can help you right away!
Download my free Linux commands cheat sheet – it’s a quick reference guide with all the essential commands you’ll need to get things done on your Raspberry Pi. Click here to get it for free!
What is Cockpit: An Introduction
Cockpit is an open-source, lightweight system monitoring tool typically used to monitor the health of Linux servers. Its web-based GUI interface gives users access to all relevant system statistics and easy access to the terminal.

There are already many ways to monitor your Raspberry Pi without the terminal. However, Cockpit outperforms them in its modular and lightweight architecture, and easy integration with multiple Linux-based servers through the same dashboard.
The primary competitor to Cockpit is Webmin. (If you want to try it out, we have a tutorial on how to set up Webmin on Raspberry Pi.) Unlike Webmin, Cockpit feels lightweight and modern, and it’s popular for real-time monitoring, basic administration, and user-friendliness.
You might also like: Pi5 vs. Pi4: I tested them, here's the result
Installing Cockpit on Raspberry Pi
Cockpit can be installed from the official repository. This version lags behind the latest version by several months, but I think it’s easier for beginners to install and maintain it this way.
Here’s how to install Cockpit on Raspberry Pi OS:
- Make sure your system is up to date:
sudo apt update
sudo apt full-upgrade - Install some prerequisites:
sudo apt install gettext nodejs npm make - Install Cockpit via APT:
sudo apt install cockpit - Start and enable the service to run on on boot:
sudo systemctl start cockpit
sudo systemctl enable cockpit.socket
(Notice that it’s ‘cockpit.socket’ on the second line.)
Now that it’s done, let’s verify that Cockpit is running:sudo systemctl status cockpit
Bonus tip: If the terminal still feels confusing, I made a simple cheat sheet with 74 commands explained in plain English. You can grab it here for free..
If you want a clearer path than jumping from tutorial to tutorial, my book gives you a step-by-step roadmap to really understand your Raspberry Pi.
Check the book hereYou can get answers from real experts in minutes.
Get help with your setup

That’s all! You’ve successfully installed Cockpit on your Raspberry Pi. We can now get started using it and exploring all its features.
Note: If you need the newest version of Cockpit with all the latest features, then you can install it using the more complex backports method here.
Tip: Command lines can be a pain to memorize. I put the essential Linux commands on a printable cheat sheet so you don't have to keep googling them. You can grab the PDF here if you want to save some time.
Something not working? Don't waste hours going in circles. Ask in the RaspberryTips Community and get help from people who've already figured it out. Get unstuck now.
Getting Started & Using Cockpit
Having successfully installed Cockpit, we can access the dashboard using a web browser on any PC connected to the same LAN/ Wifi as our Raspberry Pi. To access the dashboard, navigate to this web address:http://<HOST_NAME or IP_ADDRESS>:9090![]()
Check this: 7 Surprising Uses for a Raspberry Pi
You will be greeted with this login screen:
You must log in as a system user to use Cockpit to manage your device.
Enter your username and password, then click “Log In.”
Basic Usage
Once you log in, you will be greeted by the Cockpit dashboard.

Cockpit will be in “limited access” mode the first time you log in. Turn on full admin access by clicking the button next to the yellow padlock towards the top of the page.
Cockpit offers different viewports/ windows in its dashboard where you can monitor system performance. For example, the Overview contains the CPU and memory usage and the overall health of your Raspberry Pi.

You can also access useful system statistics like networking, storage, and system logs.

One of the key features that Cockpit offers is the Terminal window, from which you can access the terminal/command line of your Raspberry Pi.
Check this: 7 Surprising Uses for a Raspberry Pi

Installing Cockpit Modules
Every system administrator needs different maintenance tools, so Cockpit lets you install plugins that extend its functionality. Cockpit calls these plugins Applications, and they can be official or third-party. You can find a list of all supported modules on their official web page.
Installing Official Modules
Bonus tip: If the terminal still feels confusing, I made a simple cheat sheet with 74 commands explained in plain English. You can grab it here for free..
As an example, let’s learn how to install an official module first. The Podman module lets you run containers from Cockpit’s web interface.
Here’s how to install the Podman module for Cockpit:
- Visit Cockpit’s Applications page.
- Find the module you wish to install, and note its package name.

- Install the package using APT:
sudo apt install <PACKAGE NAME>
- Once the package is installed, reload the page to refresh the admin panel.
The new module should now appear in the left menu.
With the Podman module installed, now you can deploy containers straight from the admin panel, which can be easier than doing it manually via the command line.
Installing Third-Party Modules
While Cockpit has a good selection of official modules/applications, there’s a much greater number of third-party modules available. There’s just one problem that I found during testing: most third-party modules—and even some official modules—were not available in the official repositories on Raspberry Pi OS.
So in these cases, installing it via APT like we did earlier won’t work. Instead, the solution is to install the module manually from its respective GitHub page.
Let me walk you through an example by installing a module called cockpit-navigator. It’s a graphical file explorer that you can use right inside of Cockpit.
Check this: 15 Easy Projects for Raspberry Pi Beginners

Here’s how to install the a third-party module:
- Visit the module’s GitHub page.
For this example, here are the instructions for cockpit-navigator. - Clone the GitHub repo:
git clone https://github.com/45Drives/cockpit-navigator.git - Enter the folder that was just downloaded:
cd cockpit-navigator - Compile & install the module:
sudo make install - Once the package is installed, reload the page to refresh the admin panel.
The new module should now appear in the left menu.
With this new module installed, you can now manage your server’s files—copy/delete/edit—right from the web browser.
As you can see, Cockpit is a great tool that is easy to install and intuitive, with several useful features. You can consult their official website to learn more about the software and the ecosystem.
Not getting the same result?
Even when you follow every step, small differences in OS version, hardware or config can change the outcome. Instead of wasting time guessing, get help from people who have already fixed the same kind of issue.
- Get help on your exact issue
- Access step-by-step videos for tricky setups
- Browse the website without ads
