 ###
-Get available distributions list
+Operations with remote (available to install) Node.js versions
 ###
 
 module.exports =

    do fetch.versions
  r = []
  for k, v of dists when (f = file cache, "#{k}.json").y()
    for z in json2 f.load() when msi z
      r.push new Remote z, k
  r.sort semver.$

msi = (line)->
  ~line.files.join().indexOf '-msi'

# Latest version available to upgrade to

  return unless remote = exports(true).pop()
  return if remote.local '*'
  remote.$[0].join '.'
