Skip to content

Commit 361f219

Browse files
committed
Link directly to latest version compressed files in Install page
Direct links to: - stable Precompiled.zip - stable source code (zip and tar.gz)
1 parent fa85aa7 commit 361f219

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install.markdown

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: "Installing Elixir"
33
section: install
44
layout: default
55
---
6+
{% assign stable = site.data.elixir-versions[site.data.elixir-versions.stable] %}
67

78
# {{ page.title }}
89

@@ -88,7 +89,7 @@ Those distributions will likely install Erlang automatically for you too. In cas
8889

8990
## Precompiled package
9091

91-
Elixir provides a precompiled package for every release. First [install Erlang](/install.html#installing-erlang) and then download and unzip the [Precompiled.zip file for the latest release](https://github.com/elixir-lang/elixir/releases/).
92+
Elixir provides a precompiled package for every release. First [install Erlang](/install.html#installing-erlang) and then download and unzip the [Precompiled.zip file for the latest release](https://github.com/elixir-lang/elixir/releases/download/v{{ stable.version }}/Precompiled.zip).
9293

9394
Once the release is unpacked, you are ready to run the `elixir` and `iex` commands from the `bin` directory, but we recommend you to [add Elixir's bin path to your PATH environment variable](#setting-path-environment-variable) to ease development.
9495

@@ -107,7 +108,7 @@ If you would prefer to compile from source manually, don't worry, we got your ba
107108

108109
You can download and compile Elixir in few steps. The first one is to [install Erlang](/install.html#installing-erlang).
109110

110-
Next you should download the [latest release](https://github.com/elixir-lang/elixir/releases/), unpack it and then run `make` inside the unpacked directory (note: if you are running on Windows, [read this page on setting up your environment for compiling Elixir](https://github.com/elixir-lang/elixir/wiki/Windows)).
111+
Next you should download source code ([.zip](https://github.com/elixir-lang/elixir/archive/v{{ stable.version }}.zip), [.tar.gz](https://github.com/elixir-lang/elixir/archive/v{{ stable.version }}.tar.gz)) of the [latest release](https://github.com/elixir-lang/elixir/releases/tag/v{{ stable.version }}), unpack it and then run `make` inside the unpacked directory (note: if you are running on Windows, [read this page on setting up your environment for compiling Elixir](https://github.com/elixir-lang/elixir/wiki/Windows)).
111112

112113
After compiling, you are ready to run the elixir and `iex` commands from the bin directory. It is recommended that you [add Elixir's bin path to your PATH environment variable](#setting-path-environment-variable) to ease development.
113114

0 commit comments

Comments
 (0)