Search code examples
keycloak

How can I know the Keycloak version?


In the older KeyCloak versions, we could use:

/opt/jboss/keycloak/bin/standalone.sh -version

This would print the version info.

But in newer versions it seems that this standalone.sh is removed.

How can I get the version in newer versions?


Solution

  • You can do:

    cat version.txt 
    

    in the root folder that contains Keycloak.

    Or

    ./bin/kc.sh --version
    

    and get as an output for example:

    Keycloak 20.0.3
    (..)