     end
   end
 
-  defp install_mix(_) do
-    ask_and_run("Install mix dependencies?", "mix", "deps.get")
+  defp install_mix(binding) do
+    if binding[:hex?] do
+      ask_and_run("Install mix dependencies?", "mix", "deps.get")
+    end
   end
 
   ## Helpers

               adapter_module: adapter_module,
               db_user: db_user,
               db_password: db_password,
               namespaced?: Mix.Utils.camelize(app) != mod]

    copy_from path, binding, @new

    # Parallel installs
    install_parallel path, binding

    instructions = [
      "$ cd #{path}",
      unless(binding[:hex?], do: "$ mix deps.get"),
      "$ mix phoenix.server"
    ]

    # All set!
    Mix.shell.info """

    We are all set! Run your Phoenix application:

        #{instructions |> Enum.filter(& &1) |> Enum.join("\n    ")}

    You can also run it inside IEx (Interactive Elixir) as:

