<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo" -->

---
title: jkfran/killport: A command-line tool to easily kill...
description: killport is a command-line tool built with Rust that allows users to easily kill processes running on specified ports. It supports multiple port numbers, has...
canonical: https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: jkfran/killport: A command-line tool to easily kill processes running on a specified port. | daily.dev
og:description: killport is a command-line tool built with Rust that allows users to easily kill processes running on specified ports. It supports multiple port numbers, has...
og:url: https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo
og:image: https://api.daily.dev/og/posts/rQwRxShlo.png
og:image:alt: jkfran/killport: A command-line tool to easily kill processes running on a specified port.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# jkfran/killport: A command-line tool to easily kill processes running on a specified port.

**[Pointer](https://daily.dev/sources/pointer)** · 2 min read · 32 upvotes · 9 comments

## Summary

killport is a command-line tool built with Rust that allows users to easily kill processes running on specified ports. It supports multiple port numbers, has verbosity control, and works on Linux, macOS, and Windows.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/jkfran/killport>

## Community discussion

Top comments from developers on daily.dev.

**@franckfv** · 3 upvotes

> You are wasting your time by installing this just do this :
> sudo lsof -i :[PORT NUMBER]
> sudo kill -9 PID of processus
> example :
> sudo lsof -i :8080 #lists all processes that are currently using port 8080
> sudo kill -9 PID

**@idoshamun** · 1 upvotes

> Very much needed 🤩

**@alfreddagenais** · 1 upvotes

> Very usefull thank you! It's eliminate couple search for witch process on port each time.

**@anuragd** · 0 upvotes

> A Mac os plugin for raycast or Alfred would be perfect. Do you have any plans for it?

**@popat694** · 0 upvotes

> useful and handy thank you!

## Similar posts on daily.dev

- [Governing Security in the Age of Infinite Signal](https://daily.dev/posts/governing-security-in-the-age-of-infinite-signal-qhihbir44) · Snyk · 0 upvotes · 0 comments
- [No one has a good plan for how AI companies should work with the government](https://daily.dev/posts/no-one-has-a-good-plan-for-how-ai-companies-should-work-with-the-government-nkajqoze1) · TechCrunch · 0 upvotes · 1 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#rust](https://daily.dev/tags/rust), [#mac](https://daily.dev/tags/mac)

[View this post on daily.dev](https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"jkfran/killport: A command-line tool to easily kill processes running on a specified port.","url":"https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo"},"datePublished":"2023-04-28T15:46:58.237Z","dateModified":"2024-04-12T14:58:55.331Z","description":"killport is a command-line tool built with Rust that allows users to easily kill processes running on specified ports. It supports multiple port numbers, has...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b036b44abbb801250dea763a0d9c9fa1?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b036b44abbb801250dea763a0d9c9fa1?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Pointer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Pointer","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/65d4168582f14e0cb2b46693356e66f1","url":"https://daily.dev/sources/pointer"},"commentCount":9,"discussionUrl":"https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":32},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":9}],"keywords":"linux,rust,mac","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Pointer","item":"https://daily.dev/sources/pointer"},{"@type":"ListItem","position":3,"name":"jkfran/killport: A command-line tool to easily kill processes running on a specified port."}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/jkfran-killport-a-command-line-tool-to-easily-kill-processes-running-on-a-specified-port--rqwrxshlo","comment":[{"@type":"Comment","text":"You are wasting your time by installing this just do this :\nsudo lsof -i :[PORT NUMBER]\nsudo kill -9 PID of processus\nexample :\nsudo lsof -i :8080 #lists all processes that are currently using port 8080\nsudo kill -9 PID","datePublished":"2023-04-30T10:29:30.372Z","url":"https://daily.dev/posts/rQwRxShlo#c-wIpYWILgR","author":{"@type":"Person","name":"Franck","url":"https://daily.dev/franckfv","image":"https://lh3.googleusercontent.com/a/AGNmyxY43RsbaZ065znSmZwi1T5QOgBYIArz9yhsckja=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Very much needed 🤩","datePublished":"2023-04-30T06:23:01.666Z","url":"https://daily.dev/posts/rQwRxShlo#c-VRpqyWofm","author":{"@type":"Person","name":"Ido Shamun","url":"https://daily.dev/idoshamun","image":"https://media.daily.dev/image/upload/s---xy_OAwk--/f_auto,q_auto/v1703781380/avatars/avatar_28849d86070e4c099c877ab6837c61f0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Very usefull thank you! It’s eliminate couple search for witch process on port each time.","datePublished":"2023-04-28T20:47:00.527Z","url":"https://daily.dev/posts/rQwRxShlo#c-ihPUmUiSN","author":{"@type":"Person","name":"Alfred Dagenais","url":"https://daily.dev/alfreddagenais","image":"https://avatars1.githubusercontent.com/u/5769264?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"A Mac os plugin for raycast or Alfred would be perfect. Do you have any plans for it?","datePublished":"2023-04-29T12:44:58.182Z","url":"https://daily.dev/posts/rQwRxShlo#c-yHcmanoPW","author":{"@type":"Person","name":"Anurag D","url":"https://daily.dev/anuragd","image":"https://media.daily.dev/image/upload/v1681825438/avatars/avatar_pPNMBfu2HgAGY7SN9Q074.jpg"}},{"@type":"Comment","text":"useful and handy thank you!","datePublished":"2023-05-01T05:56:37.342Z","url":"https://daily.dev/posts/rQwRxShlo#c-qOt61vTwo","author":{"@type":"Person","name":"Parth P","url":"https://daily.dev/popat694","image":"https://lh3.googleusercontent.com/a/AATXAJzVDvHKzydnrTp1kzlY0aaZUyLZO_LvJEbucqY=s100"}}]}
```

