user2503: I recently ran into sync errors after building/installing cardano-node.  I am pretty sure that the problem was that I had built the wrong version, after re-building to exactly what the documentation stated, it synced fine.  So, this begs the question - is there an easy way to find out what version is running on a remote node?

user4457: You could check your startup parameters and note the path to the config file you are using by using
ps -ef | grep cardano-node

There should be a filename after --config
If unchanged, the testnet and mainnet config files are named as such; testnet-config.json and mainnet-config.json.
If the name doesn't suffice, you can check inside this config file which genesis files are used.
Or are you looking for the latest released version of cardano-node? This can be done with the following command:
curl -s https://api.github.com/repos/input-output-hk/cardano-node/releases/latest | jq -r .tag_name

[Source: Guild Operators, Build Node/CLI section]

user4413: you may connect to the remote node using SSH/RDP.
Then you can run cardano-node or cardano-cli with parameter --version.
~$ cardano-node --version
cardano-node 1.30.1 - linux-x86_64 - ghc-8.10

~$ cardano-cli --version
cardano-cli 1.30.1 - linux-x86_64 - ghc-8.10


user5270: The correct answer is any version (that works!). Anybody is able to pick what they want. What matters is what you have in this case. If you feel your version is off, just download another one (Releases!), install it and run it!

2503: <p>I recently ran into sync errors after building/installing cardano-node.  I am pretty sure that the problem was that I had built the wrong version, after re-building to exactly what the documentation stated, it synced fine.  So, this begs the question - is there an easy way to find out what version is running on a remote node?</p>
 4457: <p>You could check your startup parameters and note the path to the config file you are using by using</p>
<pre><code>ps -ef | grep cardano-node
</code></pre>
<p>There should be a filename after --config</p>
<p>If unchanged, the testnet and mainnet config files are named as such; testnet-config.json and mainnet-config.json.</p>
<p>If the name doesn't suffice, you can check inside this config file which genesis files are used.</p>
<p>Or are you looking for the <strong>latest released</strong> version of cardano-node? This can be done with the following command:</p>
<pre><code>curl -s https://api.github.com/repos/input-output-hk/cardano-node/releases/latest | jq -r .tag_name
</code></pre>
<p>[Source: Guild Operators, Build Node/CLI section]</p>
 4413: <p>you may connect to the remote node using SSH/RDP.
Then you can run cardano-node or cardano-cli with parameter --version.</p>
<pre><code>~$ cardano-node --version
cardano-node 1.30.1 - linux-x86_64 - ghc-8.10

~$ cardano-cli --version
cardano-cli 1.30.1 - linux-x86_64 - ghc-8.10
</code></pre>
 5270: <p>The correct answer is <em><strong>any</strong></em> version (that works!). Anybody is able to pick what they want. What matters is what <em><strong>you</strong></em> have in this case. If you feel your version is off, just download another one (Releases!), install it and run it!</p>
