By bendqh1 on
It could be a shell builtin command or a shell utility command or a Composer command or a Drush command or some combination of commands.
I just want to know what is the current latest stable version of Drupal out there so for example if today this version is 10.2.2 then the output of the CLI command will be something like:
"The latest stable version of Drupal is 10.2.2"
Comments
You can use this: composer
You can use this:
composer show drupal/core --latest | grep 'latest'. Example Output:Contact me to contract me for D7 -> D10/11 migrations.
Oh I didn't mean what is the
Oh I didn't mean what is the latest one installed on my system but what is the latest one out there meaning on the packagist repository or alternatively here on DO.
Yes, that is what I showed
Yes, that is what I showed you.
Contact me to contract me for D7 -> D10/11 migrations.
Oh, what confused me is that
Oh, what confused me is that I ran this command not from my website's directory and then I got this output:
But when I ran it from my website's directory I got this output:
Funny, I will add a
cd "$HOME"/"$web_application_root"/example.combefore it !