# File lib/new_relic/cli/commands/install.rb, line 41
  def run
    dest_file = File.expand_path(@dest_dir + "/newrelic.yml")
    if File.exist?(dest_file)
      raise NewRelic::Cli::Command::CommandFailure, "newrelic.yml file already exists.  Move it out of the way."
    end
    File.open(dest_file, 'w') { | out | out.puts(content) }

    puts "\nInstalled a default configuration file at\n\#{dest_file}.\n" unless quiet
    puts "\nTo monitor your application in production mode, sign up for an account\nat www.newrelic.com, and replace the newrelic.yml file with the one\nyou receive upon registration.\n" unless quiet || @license_key != NO_LICENSE_KEY
    puts "\nVisit support.newrelic.com if you are experiencing installation issues.\n" unless quiet

  end