docs: function install(module, sync) {
  		//  accurate enough for our purpose
  		var start = Date.now(),
  			arg = ['npm', ['install', module.name + '@' + module.version], {cwd: module.options.path}];
  
  		if (!sync) {
  			return childProcess.spawn.apply(childProcess.spawn, arg)
  				.on('close', function(status) {
  					if (status === 0) {
  						module.duration = Date.now() - start;
  						module.installed = true;
  
  						wanted.emit('complete', shallow(module));
  					}
  					else {
  						module.error = true;
  						error('Failed to install: ' + module.name);
  					}
  
  					processed(module);
  				});
  		}
  
  		return childProcess.spawnSync.apply(childProcess.spawn, arg);
  	}