Gleam can be installed with pkg by running this command:

sudo pkg install gleam erlang rebar3