This program takes a BEAM Bytecode (.beam) file as an argument, and outputs on stdout its Core Erlang representation
$ MIX_ENV=prod mix escript.build
$ cp to_core ~/.local/bin # OR mix escript.install --force$ to_core "_build/to/ebin/foo.beam"Thanks again to Bryan Joseph (@bryanjos) :)