erlang module load path how to ERL_LIBS
erl -env ERL_LIBS "/my/path/to/module" export ERL_LIBS=/my/path/to/module erl -pa /my/path/to/module erlc -o /dir/to/save/compiled/file mymodule.erl NOTE:Modules must reside in a file with the same name as the file. NOTE:the lib path will not load if it doesn't contain a ebin dir Example: /Users/joe/mymodule/ebin $ export ERL_LIBS=/Users/joe/mymodule; erl You can test to see if the path loaded with >code:get_path().