About Somo
Somo is a terminal program written in Rust that shows which sockets and ports are in use on a machine. It is presented as a friendlier replacement for netstat, with the output laid out as a table instead of raw text, and it runs on Linux and macOS.
Output can be narrowed with flags: by TCP or UDP, local or remote port, remote IP address, program name, PID, owning user, and by connection state such as listening, open or established. IPv4 and IPv6 can be selected separately, and a compact table view is available for smaller terminals.
Beyond listing, somo can sort by a chosen column, reverse the order, print JSON, or follow a custom format string with named attributes. A kill flag opens an interactive selection so a process can be terminated after inspecting its connections. Shell completions and a config file can be generated through subcommands.
It is open source under the MIT licence and installs with cargo, Homebrew, yay on Arch, a .deb file from the releases page, or a Nix flake. The README advises running it with sudo to see every process and port.
Key features
- Table view of sockets and ports
- Filterable and sortable output
- Interactively kill a process after inspection
- JSON and custom-formatted output
- Compact table mode
- Filter by program name, PID or user
- Generate shell completions and a config file
Good fit for
- Finding which program holds a local port
- Listing listening or established connections
- Killing a process tied to a connection
- Exporting connection data as JSON
Somo: questions and answers
- What is Somo used for?
- Somo is a command-line tool for Linux and macOS that lists sockets and open ports in a readable table, as an alternative to netstat. It is a good fit for finding which program holds a local port, listing listening or established connections and killing a process tied to a connection.
- Is Somo open source?
- Yes. Somo is open source under the MIT licence. Its source code is on GitHub at theopfr/somo and is written mainly in Rust.
- Is Somo free?
- Yes. Somo is open source, so the software itself is free to use.
- What is Somo an alternative to?
- Somo is an open-source alternative to Socket and LINE. Other open-source alternatives to Socket include Trivy.
- Is Somo actively maintained?
- Yes. The most recent commit to Somo was on 9 November 2026, and the latest release is v1.4.0, published on 12 September 2026. The project has 2.6k stars on GitHub, with 6 added in the last 30 days.
Open-source alternatives to Somo
See all
Tox
Testing & QA
Command line driven CI frontend and development task automation tool.
MITvs Zoom★ 4k
Wire
Team Chat
🇪🇺 Wire back-end services
AGPL-3.0vs Slack★ 2.8kRare
Open source
Rare is an open source alternative for Epic Games Launcher, using Legendary.
GPL-3.0vs EA app★ 942
Trivy
Security
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code rep
Apache-2.0vs Snyk★ 39k
Rocket.Chat
Team Chat
The Secure CommsOS™ for mission-critical operations
OSSvs Slack★ 46k
Mattermost
Team Chat
Mattermost is an open source platform for secure collaboration across the entire software
OSSvs Slack★ 40k
SaaS alternatives to Somo
See all
Socket
Security
Supply chain security that detects risky open source packages before install
SaaS
LINE
Team Chat
Messenger and super-app popular in Japan, Taiwan and Thailand
SaaSBeesecure
Security
Security scanning platform that finds vulnerabilities in codebases for developers and indie hackers
SaaS
Device Ports
Developer Tools
Desktop app to discover, run and monitor local projects, services, ports and logs
SaaS
Localdock
Developer Tools
Gives each local project its own address on your Mac, your Wi-Fi network or anywhere online
SaaS
act101
Developer Tools
Codebase quality and refactoring toolkit for coding agents, with code porting and verification
SaaS
