CocoaEngineering
FORMULAv9.5

lmod for macOS

Lua-based environment modules system to modify PATH variable

Installation on macOS (Apple Silicon & Intel)

brew install lmod

Package Metadata

Identifierlmod
Current Version9.5
Tap Repositoryhomebrew/core
LicenseMIT
Upstream Homepagehttps://lmod.readthedocs.io
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (2)

lua tcl-tk

Build Dependencies (3)

luarocks pkgconf gnu-sed

Engineering Caveats

To use Lmod, you should add the init script to the shell you are using.

For example, the bash setup script is here: $HOMEBREW_PREFIX/opt/lmod/init/profile
and you can source it in your bash setup or link to it.

If you use fish, use $HOMEBREW_PREFIX/opt/lmod/init/fish, such as:
  ln -s $HOMEBREW_PREFIX/opt/lmod/init/fish ~/.config/fish/conf.d/00_lmod.fish
Browse macOS Packages A–Z