惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
小众软件
小众软件
The Cloudflare Blog
博客园 - 【当耐特】
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - 叶小钗
月光博客
月光博客
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
Y
Y Combinator Blog
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Installing Elixir with ASDF
Guilherme Ya · 2026-05-01 · via DEV Community

Guilherme Yamakawa de Oliveira

I'm getting into Elixir, but before I could start doing anything I had to install it. Since I use asdf to manage language versions, I wrote down how I did it on my machine.

If you want to know more about asdf, I talked about it in my first post.

Setting up Ruby and Node.js with ASDF

For those who don't know, Elixir is an open-source programming language created by José Valim at Plataformatec (a company that was bought by Nubank).

Elixir is a modern, dynamic and functional language. It runs on the Erlang VM, known for low-latency, concurrent, fault-tolerant, distributed and scalable systems (more info).

Let's go.

To start we need to install asdf. It's pretty easy, just follow the tutorial on the project page.

Tutorial to install asdf

With asdf installed and set up, we need to install some Erlang dependencies.

# OSX
$ brew install autoconf

---

# Ubuntu / Debian
$ sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop

Enter fullscreen mode Exit fullscreen mode

For other operating systems I don't know how to install with asdf, but it's possible to install Elixir somehow, either through docker or some executable.

Other options and other OSes.

Now we're ready to install Erlang.

# Add the Erlang plugin with all available versions.
$ asdf plugin-add erlang

# Show all available Erlang versions.
$ asdf list-all erlang

# Install Erlang.
$ asdf install erlang 22.2.2

# Set the default Erlang version on the OS.
$ asdf global erlang 22.2.2

# This may take a while, it's compiling Erlang.

Enter fullscreen mode Exit fullscreen mode

Before continuing with the Elixir installation, it's important to understand how the versions work together (or don't).

The Erlang version is often called the OTP version. The Elixir version you use must be compiled specifically for the Erlang version you're running.

If you use an Elixir version compiled with a different Erlang (OTP) version, you might run into problems.

The version we installed is 22. To check the version from the console it's pretty simple.

command erl return

Now that we've confirmed it's OTP-22, let's install Elixir.

# Add the Elixir plugin with all available versions.
$ asdf plugin-add elixir

# Show all available Elixir versions.
$ asdf list-all elixir

# Install Elixir.
$ asdf install elixir 1.9.4-otp-22

# Set the default Elixir version on the OS.
$ asdf global elixir 1.9.4-otp-22

Enter fullscreen mode Exit fullscreen mode

Now run elixir -v and confirm both versions.

command elixir -v return

After confirming the versions, just run iex and see if everything is ok.

command iex return

Conclusion

There are other ways to install Elixir, but I like to keep everything possible concentrated in asdf, like Ruby, Node, Elixir, Erlang, Python and others.

I've heard about Elixir since it appeared and I built small things to play with, but I never really got into it. What motivated me, besides the job opportunities popping up in Brazil and the world, is the community. Everyone is very welcoming and embraces diversity, which in my view is exactly what's needed to grow a language further.


Sources:

Thanks:

Thanks Adolfo Neto for the important feedback about the Erlang OTP and for pointing me to Thinking Elixir. I'll definitely follow.


Originally posted at guilherme44.com.