// for the local wp installation ❯ cat /srv/www/wordpress/wp-includes/version.php | grep wp_version
echo bloginfo('version');