# Update cardano-cli on air gapped machine

**URL:** <https://forum.cardano.org/t/update-cardano-cli-on-air-gapped-machine/80425>\
**Category:** Misc Dev Talk\
**Tags:** cardano\
**Created:** [19 October 2021 16:33 UTC](https://forum.cardano.org/t/update-cardano-cli-on-air-gapped-machine/80425 "2021-10-19T16:33:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahdi](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mahdi](https://forum.cardano.org/u/mahdi)\
**Post date:** [19 October 2021 16:33 UTC](https://forum.cardano.org/t/update-cardano-cli-on-air-gapped-machine/80425/1 "2021-10-19T16:33:59Z")

</div>

Hi.  
I found cardano-cli v.1.30 bin file from my producer server and copy and replace it instead v1.27 in my ubuntu air-gapped offline machine ./cardano-my-node folder.  
But still I see cardano-cli version in air-gapped machine is v 1.27:

> cardano-cli version  
> cardano-cli 1.27  
> Now what to I do for Update and execute cardano-cli to new-version?  
> Thanks.

---

<div class="post-metadata">

**Author:** ![DinoDude](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@DinoDude](https://forum.cardano.org/u/DinoDude)\
**Post date:** [19 October 2021 16:52 UTC](https://forum.cardano.org/t/update-cardano-cli-on-air-gapped-machine/80425/2 "2021-10-19T16:52:04Z")

</div>

This is more a SPO question than developer one.

Seems like you may need to update your PATH variable if it’s still pointing to the previous binary version. Dropping a new CLI on top of an old node may not work. I would use a thumb drive to “sneaker net” your cardano-node and cardano-cli with all dependencies over to ~/.local/bin and ~/.local/lib respectively.

@Alexd1985 do you have time to help?

---

<div class="post-metadata">

**Author:** ![mahdi](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mahdi](https://forum.cardano.org/u/mahdi)\
**Post date:** [19 October 2021 17:20 UTC](https://forum.cardano.org/t/update-cardano-cli-on-air-gapped-machine/80425/3 "2021-10-19T17:20:29Z")

</div>

Thanks dear  
I copied cardano-cli to ~/.local/bin and solved my problem.
