For practicality setup env variable to point to OpenSearch Node HTTP endpoint:
export OSS=localhost:9200Start a fresh OpenSearch. In this case it is OpenSearch version 2.19.3 and it is the Min distribution (without most of the plugins that are found in standard distro, especially without security plugin which makes it easy to setup without security configuration).
curl -s -X GET "http://${OSS}/" | jq .version.number