<p>Your link to the &quot;iohk instructions&quot; links to the git repo, so I am not really sure which instructions you are talking about.</p>
<p>Assuming you are on Linux, you can run the command <code>which cardano-node</code> and <code>which cardano-cli</code> to figure out where these programs are installed/located. My suspicion is that they are installed in different locations.</p>

CC BY-SA 4.0
2023-04-06T14:43:21.987Z
Thank you for your help. I actually did not completely follow instructions. I missed this step which @Nic_T2H pointed out. Thank you both!
mayanhavoc
CC BY-SA 4.0
2023-04-05T02:23:04.827Z
2023-04-06T00:54:44.287Z
2023-04-06T00:54:44.287Z
Erik de Castro Lopo
<p>Building the cardano-node and cardano-cli doesn't mean that your service is using it.</p>
<p>To install the new binaries, copy them from inside the git folder to the folder where the cardano-node.service is looking for binaries to use:</p>
<pre><code>sudo cp $(find ./dist-newstyle/build -type f -name &quot;cardano-node&quot;) &lt;DestinationPath&gt;/cardano-node
sudo cp $(find ./dist-newstyle/build -type f -name &quot;cardano-cli&quot;) &lt;DestinationPath&gt;/cardano-cli
</code></pre>
<p>than check that the new version is installed:</p>
<pre><code>cardano-cli version
cardano-node version
</code></pre>
<p>Once you are sure about the new version, restart your cardano-node service.</p>
<p>Full documentation about the update procedure: <a href="https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node/part-iv-administration/upgrading-a-node" rel="nofollow noreferrer">link</a></p>

CC BY-SA 4.0
2023-04-06T14:42:33.560Z
Thank you so much, this was exactly it. I assumed incorrectly and did not do this step. All fixed now!
mayanhavoc
CC BY-SA 4.0
2023-04-05T06:09:59.807Z
2023-04-05T06:09:59.807Z
Nic_T2H
<p>I followed the <a href="https://github.com/input-output-hk/cardano-node" rel="nofollow noreferrer">iohk instructions</a> to update my cardano-node to version 1.35.7. It built the node with no errors. However when I run <code>cardano-node --version</code>, <code>cardano-cli --version</code>, I get 1.35.3.</p>
<p>I've checked that my config, topology, etc files are correct. No clue what to do. Any help would be appreciated.</p>

<cardano-node>
Successfully built cardano-node 1.35.7 but still getting version cardano-node and cardano-cli 1.35.3
# Successfully built cardano-node 1.35.7 but still getting version cardano-node and cardano-cli 1.35.3

(Asked by: username_0 on 2023-04-05)

I followed the [iohk instructions](https://github.com/input-output-hk/cardano-node) to update my cardano-node to version 1.35.7. It built the node with no errors. However when I run `cardano-node --version`, `cardano-cli --version`, I get 1.35.3.

I've checked that my config, topology, etc files are correct. No clue what to do. Any help would be appreciated.

**Tags:** cardano-node

---

## 2 answers

### Answer by username_1 on 2023-04-05. Score: 1

Your link to the "iohk instructions" links to the git repo, so I am not really sure which instructions you are talking about.

Assuming you are on Linux, you can run the command `which cardano-node` and `which cardano-cli` to figure out where these programs are installed/located. My suspicion is that they are installed in different locations.

> **Comments:**
> **username_0**: Thank you for your help. I actually did not completely follow instructions. I missed this step which @Nic_T2H pointed out. Thank you both!  

---

### Answer by username_2 on 2023-04-05. Score: 1

Building the cardano-node and cardano-cli doesn't mean that your service is using it.
To install the new binaries, copy them from inside the git folder to the folder where the cardano-node.service is looking for binaries to use:
sudo cp $(find ./dist-newstyle/build -type f -name "cardano-node") /cardano-node
sudo cp $(find ./dist-newstyle/build -type f -name "cardano-cli") /cardano-cli

than check that the new version is installed:
cardano-cli version
cardano-node version

Once you are sure about the new version, restart your cardano-node service.
Full documentation about the update procedure: link

> **Comments:**
> **username_0**: Thank you so much, this was exactly it. I assumed incorrectly and did not do this step. All fixed now!  

---

