Skip to content

Instantly share code, notes, and snippets.

@boddhisattva
Last active January 16, 2017 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boddhisattva/9d60a68022022a7e759181568db14bc4 to your computer and use it in GitHub Desktop.
Save boddhisattva/9d60a68022022a7e759181568db14bc4 to your computer and use it in GitHub Desktop.
How to check the elixir version being used

In order to check which Elixir version one is currently using, you could use -

Either

a.

  elixir --version

or

b.

  elixir -v

Both options mentioned above give the same result as shown below -

➜  ~ elixir --version
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Elixir 1.4.0
➜  ~ elixir -v
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Elixir 1.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment