5

Upgrading Elix on OSX with Brew

 2 years ago
source link: https://fuzzyblog.io/blog/elixir/2022/03/22/upgrading-elix-on-osx-with-brew.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Upgrading Elix on OSX with Brew

Mar 22, 2022

This is simple but I keep needing to look it up.

First check your elixir version:

elixir -v

Second confirm that you actually installed Elixir using brew:

brew list | grep elixir

Third do the upgrade:

brew upgrade elixir

Note: You are probably going to find more than just elixir itself is upgraded. Theoretically you should be able to look at just the upgrade tree with:

brew deps --tree --include-build elixir

and only those things will be upgraded but when I noted a much larger group of packages being upgraded which makes me suspect some kind of circular dependency that needed to be handled.

Fourth check the version again:

elixir -v

Posted In: #elixir


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK