Elixir fundamentals
Last updated
Last updated
This guide aims to provide you with the fundamentals to start using Elixir with Phoenix for web development. It is by no means an exhaustive guide on the fundamentals of Elixir. For more in-depth information about Elixir, refer to the
To try out Elixir, you can use the interactive shell (IEx). This should be automatically installed when you have . Go to your terminal and type
You should see a prompt like this:
Then, you can try running each commands in this environment.
Alternatively, you can also create a .exs
file and run it via elixir <filename>.exs
.
For this guide, you can assume that all code snippets are run in IEx unless otherwise specified.