./node.sh -V
curl -s --request POST \
'http://127.0.0.1:9500/' \
--header 'Content-Type: application/json' \
--data-raw \
'{ "jsonrpc": "2.0", "method": "hmyv2_getNodeMetadata", "params": [], "id": 1}' | jq .result.version
Just restart the node.sh
https://stedolan.github.io/jq/download/
We print out both installed and running version to the node.sh -V
command in the next release.
The PR: harmony-one/harmony#3245