Gleam can be installed with MacPorts by running this command:

sudo port install gleam