<p>You're missing the binary cache setup referenced here most likely:
<a href="https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#iohk-binary-cache" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#iohk-binary-cache</a></p>

CC BY-SA 4.0
2022-01-31T02:25:14.503Z
2022-01-31T02:25:14.503Z
Samuel Leathers
<p>if you want to install Cardano Node,
building the node :
this commands will actually build/compile the node and will take around 40-45 minutes.</p>
<p>cd ~/git</p>
<p>git clone <a href="https://github.com/input-output-hk/cardano-node" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-node</a></p>
<p>cd cardano-node</p>
<p>git fetch --tags --all</p>
<p>git checkout 1.33.0</p>
<p>echo -e &quot;package cardano-crypto-praos\n  flags: -external-libsodium-vrf&quot; &gt; cabal.project.local</p>
<p>$CNODE_HOME/scripts/cabal-build-all.sh -o</p>
<p>At the end, check the cardano-cli and cardano-node version</p>
<p>cardano-cli --version</p>
<p>cardano-node --version</p>

CC BY-SA 4.0
2022-01-31T01:04:13.603Z
2022-01-31T01:04:13.603Z
TTS17
<p>You could just install the Deadules Wallet. Due to it being a full node, it must install the Cardano node in the background. The reason I suggest this is that it's easier to find documentation and youtube videos for Deadules than it is for building the node from the repo.</p>
<p>You can do all the same stuff with the Deadules node as the one from the repo because they are basically the same thing. This includes running a local server that acts as a query API to the blockchain.</p>

CC BY-SA 4.0
2022-02-28T00:01:11.507Z
2022-02-28T00:01:11.507Z
KryptoKing
<p>The time varies depending on a lot of factors. These can range from the capabilities of your computer to the current length of the chain. For this reason, it's hard to give a blanket answer as it always varies.</p>
<p>But there is a silver lining, you can drastically reduce the build time by using the binary cache setup by iohk:  <a href="https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#iohk-binary-cache" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#iohk-binary-cache</a></p>
<p>Hope this was helpful.</p>
<p>But you can figure it out.</p>
<p>Step 1) using CardanoScan to figure out the <code>current epoch</code> and the <code>current slot</code> it will also display the <code>number of slots in an epoch</code>.</p>
<p>Step 2) let the build process continue for a while a time how long it takes to reach <code>X</code> slot. The larger the <code>X</code> you chose the better the approximation. The amount of time is called <code>t</code>.</p>
<p>Step 3) ((<code>current epoch</code> x <code> slots in an epoch</code> ) + <code>Current Slot</code>) * <code>t</code>/<code>X</code> approx <code>How long it will take</code>.</p>

CC BY-SA 4.0
2022-02-27T11:19:51.533Z
2022-02-28T03:23:01.520Z
2022-02-28T03:23:01.520Z
KryptoKing
<p>I'm running this script but it takes hours !</p>
<p>curl <a href="https://hydra.iohk.io/build/9941098/reproduce" rel="nofollow noreferrer">https://hydra.iohk.io/build/9941098/reproduce</a> | bash</p>
<p>Any help?
Thanks</p>

<cardano-cli><cardano-node><nix><node><install>
How long Cardano node takes to be installed?
# How long Cardano node takes to be installed?

(Asked by: username_0 on 2022-01-30)

I'm running this script but it takes hours !

curl <https://hydra.iohk.io/build/9941098/reproduce> | bash

Any help?
Thanks

**Tags:** cardano-cli, cardano-node, nix, node, install

---

## 4 answers

### Answer by username_1 on 2022-01-31. Score: 2

You're missing the binary cache setup referenced here most likely:
<https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#iohk-binary-cache>


---

### Answer by username_2 on 2022-01-31. Score: 1

if you want to install Cardano Node,
building the node :
this commands will actually build/compile the node and will take around 40-45 minutes.

cd ~/git

git clone <https://github.com/input-output-hk/cardano-node>

cd cardano-node

git fetch --tags --all

git checkout 1.33.0

echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local

$CNODE\_HOME/scripts/cabal-build-all.sh -o

At the end, check the cardano-cli and cardano-node version

cardano-cli --version

cardano-node --version


---

### Answer by username_3 on 2022-02-28. Score: 0

You could just install the Deadules Wallet. Due to it being a full node, it must install the Cardano node in the background. The reason I suggest this is that it's easier to find documentation and youtube videos for Deadules than it is for building the node from the repo.

You can do all the same stuff with the Deadules node as the one from the repo because they are basically the same thing. This includes running a local server that acts as a query API to the blockchain.


---

### Answer by username_3 on 2022-02-27. Score: 0

The time varies depending on a lot of factors. These can range from the capabilities of your computer to the current length of the chain. For this reason, it's hard to give a blanket answer as it always varies.

But there is a silver lining, you can drastically reduce the build time by using the binary cache setup by iohk: <https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#iohk-binary-cache>

Hope this was helpful.

But you can figure it out.

Step 1) using CardanoScan to figure out the `current epoch` and the `current slot` it will also display the `number of slots in an epoch`.

Step 2) let the build process continue for a while a time how long it takes to reach `X` slot. The larger the `X` you chose the better the approximation. The amount of time is called `t`.

Step 3) ((`current epoch` x  `slots in an epoch` ) + `Current Slot`) \* `t`/`X` approx `How long it will take`.


---

