Somo

Open source

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.

Open-source alternative to

crates.io
Somo homepage screenshot
GitHub stars
2.6k
Last 30 days
+6(+0%)
Last commit
4 days ago
Repository age
3 years
Version
v1.4.0
Licence
MIT
Self-hosted
Yes

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
Built with
Rust tools
Tags
cli
networking
netstat
ports
sockets
rust
linux
macos

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

SaaS alternatives to Somo

See all