npx remotion versions
Available from Remotion v2.6.2
Prints out which versions of Remotion packages are installed.
In the optimal case, your versions are aligned and the output of the command looks like this: