# alfred-pkill **Repository Path**: ManerFan/alfred-pkill ## Basic Information - **Project Name**: alfred-pkill - **Description**: 通过名称|端口|PID结束进程 Terminate a process by name or port or pid - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-21 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # alfred-pkill > [Alfred 3](https://www.alfredapp.com/) workflow,通过名称|端口|PID结束进程 Terminate a process by name or port or pid ![](docs/pkill.gif) ![](docs/byname.jpg) ![](docs/byport.jpg) ![](docs/bypid.jpg) ## Install ```js $ npm install --global alfred-pkill ``` Requires [Node.js](https://nodejs.org/) 4+ and the Alfred [Powerpack](https://www.alfredapp.com/powerpack/). ## Usage In Alfred, type `pkill`, Enter or Space, and the process name or keyword or :port or ?pid. alfred-pkill will automatically find the corresponding process(es). Press Enter, `kill` it. Hold Alt and Press Enter, Force `kill -9`. Hold Command and Press Enter, show the process command. ## Related - [alfy](https://github.com/sindresorhus/alfy) - Create Alfred workflows with ease - [execa](https://github.com/sindresorhus/execa) - A better `child_process` - [pid-from-port](https://github.com/kevva/pid-from-port) - Get PID from a port - [ps-list](https://github.com/sindresorhus/ps-list) - Get running processes - [process-exists](https://github.com/sindresorhus/process-exists) - Check if a process is running ## License [Apache 2.0](LICENSE) © [ManerFan](https://github.com/manerfan) ## Change Log - [0.1.2] Terminate a process by name or keyword or port or pid - [0.1.1] Terminate a process by name or port or pid