elixir - Can't run iex in Windows command prompt or git bash -


i installed elixir via chocolatey on windows 7 machine. @ root of c directory, inside of administrator command prompt, ran:

c:\> cinst elixir 

this installed erlang , elixir -- v.1.0.4. nothing failed, success messages. restarted command prompt , ran

c:\> iex.bat 

i receive error:

'iex.bat' not recognized internal or external command, operable program or batch file.

i run mac, i'm pretty ignorant when comes windows. tried running iex in git bash, no luck. how run iex?

neither erlang nor elixir automatically added path chocolatey. make sure add both erlang's , elixir's bin directory path. since mention you're not used windows, try running @ command prompt before try execute iex.bat:

set path=c:/"program files"/erl6.4/bin;c:/elixir/bin;%path% 

obviously you'll want adjust paths you've installed things.

oh , you'll want run iex.bat. don't think iex.bat run git bash prompt can't remember last time tried it.

edit:

for elixir 1.0.5, want modify path above use c:/"program files"/erl7.0/bin (erlang/otp 18.0) assuming you've installed chocolatey.


edit:

elixir added path on windows (from elixir 1.2.4) via chocolatey nuget installer. erlang may still need added manually; it's dependent on erlang windows installer. @manveru's comment below no longer applies. ielixir.exe shim applied @ 1 point attempt work around path issues. it's been discontinued few versions now.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -