Editing
Elixir (programming language)/Installation Guide
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Installation Guide == === Option 1: Installing Elixir on macOS === # Download the Homebrew package manager by executing the command: <pre><code>brew install</code></pre> # Install Elixir by executing the following command: <pre><code>brew install elixir</code></pre> === Option 2: Installing Elixir on Ubuntu === # Update the package list by running this command: <pre><code>sudo apt-get update</code></pre> # Install the Elixir package by executing the following command: <pre><code>sudo apt-get install elixir</code></pre> === Option 3: Installing Elixir on Windows === # Download the latest Windows installer for Elixir from the official website. # Run the installer and follow the on-screen instructions to complete the installation. === Option 4: Installing Elixir using asdf === # Install asdf version manager by executing the following command: <pre><code>git clone https://github.com/asdf-vm/asdf.git ~/.asdf</code></pre> # Add asdf to your shell initialization file (e.g., ~/.bashrc) by executing the following command: <pre><code>echo '. $HOME/.asdf/asdf.sh' >> ~/.bashrc</code></pre> # Install the Erlang plugin by executing the following command: <pre><code>asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git</code></pre> # Install the Elixir plugin by executing the following command: <pre><code>asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git</code></pre> # Install the required versions of Erlang and Elixir: <pre><code>asdf install erlang <version></code></pre> <pre><code>asdf install elixir <version></code></pre> === Verifying the Installation === # Open a new terminal window and run the following command to check the installed Elixir version: <pre><code>elixir --version</code></pre> # To verify the Erlang installation, run the following command: <pre><code>erl</code></pre> # Press `Ctrl + G` to enter the Erlang shell, then type `q().` and press Enter to exit. == Additional Resources == * [https://elixir-lang.org/getting-started/introduction.html Official Elixir Website] * [https://github.com/elixir-lang/elixir Elixir on GitHub]
Summary:
Please note that all contributions to Elixir Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Elixir Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information