Erlang Central

Release Version

From ErlangCentral Wiki

Problem

Identify which version of the Erlang runtime system you are using and which Release you have installed.

Solution

You will find What's the current version? in the Erlang FAQ helpful.

These functions are relevant :


erlang:system_info(version).
"5.5" 
% This is the erts (Erlang Run-Time System) version which
% is also visible in the banner when you run erl.


init:script_id().
{"OTP  APN 181 01","R11B"}
% The major Release version shows above as "R11B".