title: LuaJIT on Windows 10: unknown luaJIT command or jit.*
body: <p>I've been trying to install LuaJIT on Windows 10 for some time following the <a href="http://luajit.org/" rel="nofollow noreferrer">official guide</a>, and I actually get to install it. For example, if I execute <code>luajit</code> I get into the prompt. Also, <code>luajit -v</code> returns the version of luajit (2.0.4). And I can also execute code with <code>luajit -e &lt;lua code&gt;</code>. However, whenever I try to save bytecode with <code>luajit -b</code>, I get the following message:</p>
  
  <p><em>luajit: unknown luaJIT command or jit.* modules not installed</em></p>
  
  <p>I tried to make all sort of installations: using <a href="https://www.cygwin.com/" rel="nofollow noreferrer">Cygwin</a>, <a href="https://github.com/torch/luajit-rocks" rel="nofollow noreferrer">luajit-rocks</a>, <a href="http://www.mingw.org/" rel="nofollow noreferrer">MinGW</a>, ... However, no matter what I try, I always get the same result, and I have no clue of what to do.</p>
  
  <p>Could you point me to some potential problems I might be overlooking?</p>
  
  <p>I have on my system Lua 5.1 and Luarocks.</p>