         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()

    options = @parseOptions(options.commandArgs)

    @createAtomDirectories()
    packageName = options.argv._[0] ? '.'
    if packageName is '.'
      @installDependencies(options, callback)
    else
      @installPackage({name: packageName}, options, callback)

        callback()
        return

    label = packageName
    label += "@#{packageVersion}" if packageVersion
    process.stdout.write "Installing #{label} "
    if installGlobally
      process.stdout.write "to #{@atomPackagesDirectory} "

    auth.getToken (error, token) =>
      if error?
