---
title: Install kport on Linux | Snap Store
description: Get the latest version of kport for Linux - Inspect, monitor, and free
  ports — with AI safety shields and Docker support
url: https://snapcraft.io/kport
---

# kport

[Alien Hub (alienhub)](https://snapcraft.io/publisher/alienhub "View all snaps from Alien Hub (alienhub)")

* [Alien Hub (alienhub)](https://snapcraft.io/publisher/alienhub "View all snaps from Alien Hub (alienhub)")
* [Development](https://snapcraft.io/search?categories=development)
* [Productivity](https://snapcraft.io/search?categories=productivity)

latest/stable 4.0.3

Install latest/stable of kport

---

**Install using the command line**

```
sudo snap install kport
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* kport

---

### License

* Apache-2.0

---

### Last updated

* 24 July 2026 - latest/stable

---

### Source code

* [github.com/farman20ali/port-killer](https://github.com/farman20ali/port-killer "https://github.com/farman20ali/port-killer")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/kport#report-snap-modal)

---

* [Description](https://snapcraft.io/kport#tab-description)
* [Security](https://snapcraft.io/kport#tab-security)

#### Inspect, monitor, and free ports — with AI safety shields and Docker support

kport is a powerful cross-platform port inspector and process killer for
developers. Instantly find what is blocking a port, safely free it, and
monitor it in real-time — all from the terminal.

CORE FEATURES
• Inspect a port: kport inspect 8080
• Free a port: kport kill 8080
• List all ports: kport list
• Scan a port range: kport inspect 3000-3010
• Kill multiple ports: kport kill 3000 3001 8080
• Kill by name: kport kill --process node

WATCH MODE (real-time monitoring)
Continuously monitor a port and auto-kill any process that binds to it:
kport watch 8080
kport watch 8080 --interval 2.5 --dry-run

SAFETY SHIELD (protect critical services)
Blocks accidental kills on SSH, DNS, databases, and Kubernetes by default:
kport kill 22 # blocked — SSH is protected
kport kill 22 --bypass-safety # override when you really mean it

DOCKER AWARENESS
Detects ports published by Docker containers even when no host process
is visible:
kport docker
kport conflicts

MCP SERVER (AI agent integration)
Run kport as an MCP server so Claude, Cursor, Copilot, and other AI
assistants can inspect and free ports on your behalf:
kport --mcp

CONFIG FILE
Set persistent defaults via .kport.json (project, home, or global):
{ "yes": true, "protected\_ports": [8080, 9090] }

PLATFORM SUPPORT
Works on Linux, macOS, and Windows. Uses psutil when available for
richer process info, falls back to native OS tools (ss, lsof, netstat).

Source & docs: <https://github.com/farman20ali/port-killer>

---

## Install kport on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/kport/arch)

[### CentOS](https://snapcraft.io/install/kport/centos)

[### Debian](https://snapcraft.io/install/kport/debian)

[### elementary OS](https://snapcraft.io/install/kport/elementary)

[### Fedora](https://snapcraft.io/install/kport/fedora)

[### KDE Neon](https://snapcraft.io/install/kport/kde-neon)

[### Kubuntu](https://snapcraft.io/install/kport/kubuntu)

[### Manjaro](https://snapcraft.io/install/kport/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/kport/pop)

[### openSUSE](https://snapcraft.io/install/kport/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/kport/rhel)

[### Ubuntu](https://snapcraft.io/install/kport/ubuntu)
