               You can run `apm uninstall #{name}` to uninstall it and then the version bundled
               with Atom will be used.
             """.yellow
-          @installPackage({name, version}, options, callback)
+          @installRegisteredPackage({name, version}, options, callback)
 
     if packagesFilePath
       try

CSON = require 'season'
semver = require 'npm/node_modules/semver'
temp = require 'temp'

config = require './apm'
Command = require './command'

  # options - The installation options object.
  # callback - The function to invoke when installation completes with an
  #            error as the first argument.
  installRegisteredPackage: (metadata, options, callback) ->
    packageName = metadata.name
    packageVersion = metadata.version

