How do I find which version of Phantom I'm running from the console/ssh?
(Captured question from Phantom Community Slack)
You can get your Phantom version from the command line with the command:
cat /opt/phantom/etc/settings.json | grep phantom_version
It is also available on the bottom-right hand side of the screen when logging in.
If the minor version is needed, try:
grep -Po 'phantom_version":\K.*?(?=\})' /opt/phantom/installData/system_settings/settings.json
You can get your Phantom version from the command line with the command:
cat /opt/phantom/etc/settings.json | grep phantom_version
It is also available on the bottom-right hand side of the screen when logging in.
If the minor version is needed, try:
grep -Po 'phantom_version":\K.*?(?=\})' /opt/phantom/installData/system_settings/settings.json