Hi everybody, this may seem super basic and it probably is - I’m trying to set up the Phoenix Framework, I have Erlang and Elixir installed on my computer. Now I should get the Hex package and on http://www.phoenixframework.org/docs/installation it says to type in the command “$ mix local.hex”, however I’m getting back a syntaxerror for the dollar sign in Elixir:
“** (SyntaxError) iex:1: unexpected token: “$” (column 1, codepoint U+0024)”
What’s the matter with that, can anybody help me out? Thanks.
Ah! There are two (understandable) mistakes happening here:
The $ is not something to type in, but is there to indicate that you should type the command after it in a command-line shell. It’s mostly there to indicate that you need a normal terminal prompt, without root access.
You should not enter this command inside of IEx, but outside of it.