{"id":27868049,"url":"https://github.com/luckfunc/kill-port-process-cli","last_synced_at":"2025-10-10T15:09:18.632Z","repository":{"id":251594536,"uuid":"837868214","full_name":"luckfunc/kill-port-process-cli","owner":"luckfunc","description":"A CLI tool to kill processes running on specified ports.","archived":false,"fork":false,"pushed_at":"2024-12-14T05:24:26.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T20:24:46.210Z","etag":null,"topics":["kill","lsof","netstat","port","process","taskkill"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/kill-port-process-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luckfunc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-04T09:28:49.000Z","updated_at":"2024-12-14T05:24:30.000Z","dependencies_parsed_at":"2024-10-26T16:22:59.915Z","dependency_job_id":"fd81e962-18a9-4ba4-8a8a-e91a9ef83be9","html_url":"https://github.com/luckfunc/kill-port-process-cli","commit_stats":null,"previous_names":["luckfunc/kill-port-process-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luckfunc/kill-port-process-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckfunc%2Fkill-port-process-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckfunc%2Fkill-port-process-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckfunc%2Fkill-port-process-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckfunc%2Fkill-port-process-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luckfunc","download_url":"https://codeload.github.com/luckfunc/kill-port-process-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luckfunc%2Fkill-port-process-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004567,"owners_count":26083734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kill","lsof","netstat","port","process","taskkill"],"created_at":"2025-05-04T22:57:07.664Z","updated_at":"2025-10-10T15:09:18.612Z","avatar_url":"https://github.com/luckfunc.png","language":"JavaScript","readme":"# kill-port-process-cli ![npm downloads](https://img.shields.io/npm/dt/kill-port-process-cli)\n\nA CLI tool to kill processes by port. This tool allows you to terminate processes running on specified ports. It is useful for developers who need to quickly free up ports during development.\n\n## Install\n\n```bash\nnpm install kill-port-process-cli\n```\n## Global Install\n```bash\nnpm install -g kill-port-process-cli\n```\n### Usage\nYou can use the tool by running the `k` or `k-p` or `kill-port` command followed by one or more port numbers.\n### Recommended Command\nWe recommend using the `k` command for simplicity and ease of use.\n### example\nTo kill processes running on ports 3000 and 3001:\n```bash\nk 3000 3001\n```\nor\n```bash\nk-p 3000 3001\n```\nor\n```bash\nkill-port 3000 3001\n```\n### Compatibility\nThis tool is compatible with Windows, macOS, and Linux.\n### How It Works\n1. The tool identifies the process ID (PID) using the specified port.\n2. It then terminates the process associated with that PID.\n### Finding the PID\n- On Unix-based systems, it uses the `lsof` command.\n- On Windows, it uses the `netstat` command.\n### Contributing\nContributions are welcome! Please open an issue or submit a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckfunc%2Fkill-port-process-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluckfunc%2Fkill-port-process-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluckfunc%2Fkill-port-process-cli/lists"}