chrome-killer

Kill all Chrome/Chromium tabs or entires to improve performance, decrease battery usage, and save memory


Keywords
cli-app, cli, chrome, browser, tabs, kill, killall, performance
License
MIT
Install
npm install chrome-killer@2.2.1

Documentation

kill-chrome (from kill-tabs)

Kill all Chrome tabs to improve performance, decrease battery usage, and save memory

Works on macOS, Linux, Windows.

When you run kill-chrome the Chrome tab processes are killed, which means they will no longer take up system resources, but they will still be in your Chrome window, just as crashed. When you want one back you just reload the tab.

CLI

$ npm install --global kill-chrome
$ kill-chrome --help

  Usage
    $ kill-chrome

  Options
    --no-chromium  Don't kill tabs in Chromium
    --no-chrome    Don't kill tabs in Chrome
    --including-main-process Kill main browser process
    --instance-path          Specify path of Chrome/Chromium instance to kill

API

$ npm install --save kill-chrome
const killChrome = require('kill-chrome');

killChrome().then(() => {
	console.log('Killed tabs');
});

Tip

You can use the Reload All Tabs Chrome extension to easily reload all the tabs.

License

MIT © Sindre Sorhus