         callback("#{stdout}\n#{stderr}")
 
   installModule: (options, pack, modulePath, callback) ->
-    label = "#{pack.name}@#{pack['dist-tags'].latest}"
-
     vsArgs = null
     if config.isWin32()
       vsArgs = "--msvs_version=2010" if config.isVs2010Installed()


    installGlobally = options.installGlobally ? true
    if installGlobally
      process.stdout.write "Installing #{label} to #{@atomPackagesDirectory} "
      installDirectory = temp.mkdirSync('apm-install-dir-')
      nodeModulesDirectory = path.join(installDirectory, 'node_modules')
      fs.mkdir(nodeModulesDirectory)

    options = @parseOptions(options.commandArgs)

    @createAtomDirectories()
    name = options.argv._[0] ? '.'
    if name is '.'
      @installDependencies(options, callback)
    else
      atIndex = name.indexOf('@')
      if atIndex > 0
        version = name.substring(atIndex + 1)
        name = name.substring(0, atIndex)
      @installPackage({name, version}, options, callback)
