Why does Digital Ocean have a Newer Version of Elixir?

I’m building an app using Elixir and one of the things I want to do is keep the versions of tools the same between my development environment and the Digital Ocean server. But, I’m having a hard time understanding why the DO server is running Elixir 1.13.4.

My server is the latest LTS:

Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64)

The Elixir Version is shown as 1.13.4:

$ elixir --version
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit:ns]

Elixir 1.13.4 (compiled with Erlang/OTP 25)

But, my development laptop shows elixir version 1.12.2:

$ elixir --version
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit]

Elixir 1.12.2 (compiled with Erlang/OTP 24)

The “correct” version should be 1.12.2 according to the official Ubuntu site:

Any idea how to resolve this? I’d like to use 1.12.2 as 1.13.4 seems to still be a bit bleeding edge but just understanding it would help.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
September 3, 2022
Accepted Answer

Hi there,

The package repositories for some distributions are kept more up to date than others. Each distribution has different maintainers and release cycles.

However, what you could do, is rather than relying on the default version of Elixir that comes with your OS, I could suggest using the following tool:

This is a version manager for Elixir and will let you install and switch to specific versions:

asdf plugin-add elixir
asdf install elixir 1.12.2

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel