AstonJ

AstonJ

Step by step guide on setting up an Elixir dev environment on macOS Catalina

We used to have a lot of guides like this in Ruby and I don’t see many of them around these days. I think this is because fewer and fewer people do fresh installs (because Apple made it hard, so most people use Migration Assistant now). However if you find you need to set up a dev environment up from scratch, this guide could be just for you!

Link: How to set up an Elixir dev environment on macOS Catalina

It covers Ruby as well, but you can skip that bit if you don’t want Ruby.

If anyone has any tips or notices any mistakes please let me know!


Need to do a completely clean install of macOS?

While on the topic of fresh installs, if anyone needs a guide on how to do a completely clean install of macOS (rather than a migration using Migration Assistant) you might find my other post useful.

As far as I know there aren’t any other guides that show you this (because Apple made it so difficult so less people are doing them nowadays). As always though, back up all your files first and do a Time Machine backup as well - so you always have the option to do a normal migration.

Although it’s up for debate, many people think doing a completely clean install like this leaves you with a more nippy system because you don’t have the baggage that’s built up over the years (admittedly less of a problem with macOS than other operating systems).

If you notices any mistakes please let me know and if you try it let me know how you get on :smiley:

Where Next?

Popular in Guides/Tuts Top

zookzook
If you want to use the MongoDB in your next Killer-App-Project, but you did not dare ask because otherwise many would advise you to use P...
New
New
tobleron
Ok, so I am so excited to share with you the most interesting setup I have made for Elixir/Phoenix today. Why? Because if you trust me, i...
New
berts-4865
Here is a quick guide to uploading a file from the browser to DO spaces. It is crude, but will hopefully save sometime time and frustrat...
New
annad
I’m posting this for developers who are totally new to Phoenix like myself. This is all probably obvious to more skilled Phoenix develope...
New
georgeguimaraes
Another cool plugin for Neovim, GitHub - jmbuhr/otter.nvim: Just ask an otter! 🦦 makes it possible to run linters for embedded code, like...
New
emilsoman
Hello, While answering a StackOverflow question on how to debug an elixir node running remotely, I thought it may be helpful to write a...
New
bitli
In case this is handy for other people, here is how you can run Elixir on Android: Install https://termux.com/ apt update; apt upgrad...
New
fuelen
Hi all! Just want to share a small code snippet which allows writing CASE expressions using macro which is similar to cond. Here is an ...
New
niku
I write an article Parameterized testing with ExUnit.The key concept is using ExUnit.Case.register_test/4 such as ExUnit.start() defmod...
New

Other popular topics Top

9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement