macOS
brew install moduleslocal Homebrew formula metadata
brew
Dynamic modification of a user's environment via modulefiles. Version 5.6.1 via Homebrew; verified 2026-06-22.
install
brew install moduleslocal Homebrew formula metadata
sudo apt install environment-modulesDebian stable package indexes · environment-modules · source: deb.debian.org
sudo zypper install ModulesopenSUSE Tumbleweed package metadata · Modules · source: download.opensuse.org
overview
Dynamic modification of a user's environment via modulefiles
history
Environment Modules began in 1991 with John L. Furlani's paper "Modules: Providing a Flexible User Environment," written at Sun Microsystems to solve a practical Unix administration problem: users and admins needed a cleaner way to add, remove, and switch application-specific environment settings without constantly editing shell startup files. The original design wrapped environment changes into named modulefiles and exposed them through a single module command, so software setup could be loaded, unloaded, or swapped during a shell session.
The project moved through several implementations. Project history presented by the Environment Modules maintainers describes versions 1 and 2 under Furlani, version 3.0 under Peter W. Osel and Jens Hamisch, the Linux/GPL 3.1 and 3.2 line under R.K. Owen at NERSC, and the pure Tcl modulecmd.tcl work by Mark Lakata and Kent Mein. Xavier Delaruelle at CEA became project leader in 2017 and led the version 4 and version 5 line based on the Tcl implementation.
Its role is strongest in high-performance computing and multi-user Unix environments. Modulefiles let sites publish many versions of compilers, MPI stacks, libraries, tools, and data endpoints while users keep a consistent command interface across shells. The project documentation shows typical use through commands such as module load, module switch, and module unload, and the HPSF announcement describes the module command as a familiar interface for supercomputer users accessing a software catalog.
Environment Modules shares its niche with Lmod, the Lua-based module implementation that became especially prominent while Environment Modules development was on hiatus. The revived Tcl-based project added collections, dependency handling, advanced version specifiers, module variants, Lmod Tcl modulefile compatibility, Windows shell support, linting, logging, and cache support. In 2025, Modules moved under the High Performance Software Foundation within the Linux Foundation, giving the long-running HPC environment tool a formal neutral governance home.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/environment-modules/initrc/etc/environment-modules/modulespath/etc/environment-modules/siteconfig.tcl/etc/environment-modules/rc~/.modulerc<modulepath>/.modulercexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
add.modules | cli | global executable | |
envml | cli | global executable | |
mkroot | cli | global executable | |
modulecmd | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://modules.sourceforge.net/
install metadata
| Package key | brew:modules |
|---|---|
| Version | 5.6.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/modules |
| Homepage | https://modules.sourceforge.net/ |
| Repository | https://github.com/envmodules/modules |
| Upstream docs | https://github.com/envmodules/modules#readme |
| License | GPL-2.0-or-later |
| Source archive | https://downloads.sourceforge.net/project/modules/Modules/modules-5.6.1/modules-5.6.1.tar.bz2 |
| Last updated | 2026-06-22T14:05:31-07:00 |
| Pulse | updated |
| Dependencies | tcl-tk |
| Uses from macOS | less |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | To activate modules, add the following at the end of your .zshrc: source $HOMEBREW_PREFIX/opt/modules/init/zsh You will also need to restart your terminal for this change to take effect. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | modules |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
environment-modules 5.5.0-1
Modular system for handling environment variables
http://modules.sourceforge.net/
sudo apt install environment-modulesenvironment-modules 5.4.0-1
Modular system for handling environment variables
http://modules.sourceforge.net/
sudo apt install environment-modulesModules 4.8.0-4.4
Change environment at runtime
http://modules.sourceforge.net/
sudo zypper install ModulesModules-doc 4.8.0-4.4
Documentation for Environment Modules
http://modules.sourceforge.net/
sudo zypper install Modules-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.