Can't get started - I get 'undefined function mix' when I try to start a project

When Erlang opens and I try to ‘mix’ I get the error:

‘(CompileError) iex:22 undefined function mix/1’

mix is a command line tool. You should run it straight from your shell


When I try from Windows10 command line, ‘mix’ I get

'** (Mix) The task “” could not be found
Note no mix.exs was found in the current directory

(I’m just trying to get to the point where I can follow the YouTube tutorials on Phoenix coding, which all start, it seems, after they have this stuff up and running)

Unfortunately, I never tried developing on windows, but looks like it finds mix tool. So you are probably missing phoenix app generator.

mix archive.install hex phx_new 1.5.7

and after that try

mix <project_name>

Thanks very much, you were right.

It also prompted me to install ‘hex’ before ‘phx_new’

Now I’m a step closer. Thanks.