You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install.markdown
+14-14
Original file line number
Diff line number
Diff line change
@@ -34,25 +34,15 @@ Install Elixir according to your operating system and tool of choice.
34
34
35
35
### GNU/Linux
36
36
37
-
On Unix systems, there are two options to install Elixir. You can use the Erlang/Elixir packages that are part of your distribution, although those may lag behind in version numbers (especially for LTS releases). In such cases, you can also opt to use a version manager.
38
-
39
-
#### Version managers
40
-
41
-
There are many tools that allow developers to install and manage multiple Erlang and Elixir versions. They are useful if you have multiple projects running on different Elixir or Erlang versions, can't install Erlang or Elixir as mentioned above or if the version provided by your package manager is outdated. Here are some of those tools:
42
-
43
-
*[asdf](https://github.com/asdf-vm/asdf) - install and manage different [Elixir](https://github.com/asdf-vm/asdf-elixir) and [Erlang](https://github.com/asdf-vm/asdf-erlang) versions
44
-
*[kiex](https://github.com/taylor/kiex) - install and manage different Elixir versions
45
-
*[kerl](https://github.com/yrashk/kerl) - install and manage different Erlang versions
46
-
47
-
Keep in mind that each Elixir version supports specific Erlang/OTP versions. [See the supported versions alongside our docs](/docs).
37
+
Below we list steps for installing Elixir in different distributions. If your distribution is not listed, you may consider using [version managers](#version-managers).
48
38
49
39
#### Distributions
50
40
51
41
-**Arch Linux** (Community repository)
52
42
* Run: `pacman -S elixir`
53
43
54
44
-**Debian**
55
-
* The packages in `apt` tend to lag several versions behind. You may use [RabbitMQ Packages](https://launchpad.net/~rabbitmq), outlined below, which are likely newer than `apt`, but our recommendation is to use one of the several other installation methods.
45
+
* The packages in `apt` tend to lag several versions behind. You may use [RabbitMQ Packages](https://launchpad.net/~rabbitmq) outlined below, which are likely newer than `apt`, or use [version managers](#version-managers).
* You may use the default distribution, but those are often stale: `sudo dnf install elixir erlang`
55
+
* You may use the default distribution, but those often lag behind: `sudo dnf install elixir erlang`
66
56
* Documentation is available in separate packages: `sudo dnf install elixir-doc erlang-doc`
67
57
68
58
- **Gentoo**
@@ -78,7 +68,17 @@ Keep in mind that each Elixir version supports specific Erlang/OTP versions. [Se
78
68
79
69
- **Ubuntu**
80
70
* The packages in `apt` tend to lag several versions behind, consider using [install scripts](#install-scripts) instead
81
-
* Alternatively, follow the same steps as Debian
71
+
* Alternatively, follow the steps outlined for Debian distributions
72
+
73
+
#### Version managers
74
+
75
+
There are many tools that allow developers to install and manage multiple Erlang and Elixir versions. They are useful if you have multiple projects running on different Elixir or Erlang versions, can't install Erlang or Elixir as mentioned above or if the version provided by your package manager is outdated. Here are some of those tools:
76
+
77
+
* [asdf](https://github.com/asdf-vm/asdf) - install and manage different [Elixir](https://github.com/asdf-vm/asdf-elixir) and [Erlang](https://github.com/asdf-vm/asdf-erlang) versions
78
+
* [kiex](https://github.com/taylor/kiex) - install and manage different Elixir versions
79
+
* [kerl](https://github.com/yrashk/kerl) - install and manage different Erlang versions
80
+
81
+
Keep in mind that each Elixir version supports specific Erlang/OTP versions. [See the supported versions alongside our docs](/docs).
0 commit comments