In this video tutorial I’m going to show you how to install Elixir on both Windows and MacOS. The reason I’m doing this is because I’ll be uploading a Learn Elixir in One Video in a few days.
Elixir is a fantastic functional language that utilizes the Erlang VM to create systems that are stable and scalable because it can utilize thousands of processes.
Below you’ll find both a video as well as a list of steps to follow to setup everything.
[googleplusone]
If you value videos like this consider donating a $1 on Patreon
Steps to Install Elixir & Atom
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
Setup Elixir Install on MacOS A. Download HomeBrew : https://brew.sh/ B. In terminal type 1. brew update 2. brew install elixir Install on Windows A. Download the installer here 1. http://elixir-lang.org/install.html#windows 2. Click next a bunch of times and finish B. Check that everything is ok by typing elixir --version in the terminal or command line Setup Atom for Elixir A. Get Atom : https://atom.io/ B. Install Elixir Package 1. Packages -> Command Palette 2. Type install 3. Select Install Packages and Themes 4. Search for Elixir 5. Install language-elixir Test Install A. Create file elixirtut.ex B. Paste this defmodule M do def hello do IO.puts "Hello World" end end C. In terminal or command line go to the directory with your file and type iex D. c("elixirtut.ex") E. M.hello F. Exit iex with Ctrl-g and then q |
Leave a Reply