13
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ElixirAdvent Calendar 2022

Day 4

BSD系OSにElixirをインストールしてみる

Last updated at Posted at 2022-12-31

BSD系OSにElixirをインストールしたいと思います

インストール方法

公式を確認
https://elixir-lang.org/install.html#bsd

ターミナル
$ su
# pkg install elixir

動作確認

ターミナル
$ iex
iex
Erlang/OTP 24 [erts-12.3.2.6] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace]

Interactive Elixir (1.13.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> :os.version
{13, 1, 0}
iex(2)> 1..10 |> Enum.sum()
55

a.png

13
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?