Launch node applications or executables at login (Mac, Windows, and Linux)
Last updated 4 years ago by marshallofsound .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install auto-launch-gpmdp 
SYNC missed versions from official npm registry.


NPM version Build Status Windows Build Status Dependency Status

Launch applications or executables at login (Mac, Windows and Linux). Perfect for NW.js and Electron apps.


npm install auto-launch


The API consists only of enable, disable, and isEnabled.

var AutoLaunch = require('auto-launch');

var minecraftAutoLauncher = new AutoLaunch({
	name: 'Minecraft',
	path: '/Applications/',
	isHidden: true


For NW.js or Electron apps you don't have to specify the path. It gets read from process.execPath :)

var AutoLaunch = require('auto-launch');

var appLauncher = new AutoLaunch({
	name: 'My NW.js or Electron app'

	if(enabled) return;
	return appLauncher.enable()

Note: I added a method (removeNwjsLoginItem) to remove 'nwjs helper' app login item that might have been added to peoples accounts since the name change from node-webkit to NW.js.


  • Add getCurrentPath - So you can check if the app has moved around.

Current Tags

  • 2.1.0                                ...           latest (4 years ago)

1 Versions

  • 2.1.0                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (10)
Dependents (0)

Copyright 2014 - 2016 © |