<p>At any rate, <code>git describe --tags</code> seems to match the api doc at the url given; and <code>git describe --tags | git checkout</code> did it in both the mac and linux boxes.</p>

CC BY-SA 4.0
2023-12-27T21:54:48.233Z
2023-12-27T21:55:44.657Z
2023-12-27T21:55:44.657Z
EricO
<p>I'm following the instructions <a href="https://developers.cardano.org/docs/get-started/installing-cardano-node" rel="nofollow noreferrer">here</a> for both Linux and Mac M2 chip...</p>
<p>Both installs are stopped at this instruction, with the following error:</p>
<blockquote>
<p>~cardano-source/cardano-node$ git checkout $(curl -s <a href="https://api.github.com/repos/input-output-hk/cardano-node/releases/latest" rel="nofollow noreferrer">https://api.github.com/repos/input-output-hk/cardano-node/releases/latest</a> | jq -r .tag_name)
error: pathspec 'null' did not match any files(s) known to git
~cardano-source/cardano-node$</p>
</blockquote>
<p>Since I don't see any similar queztions here at Stack... I'm guessing I did something wrong, but I don't see it.  Even after going through all the steps again.  Can someone with better eyes than me provide some insight?</p>

CC BY-SA 4.0
2023-12-27T19:09:22.627Z
This was the previous command >git fetch --all --recurse-submodules --tags
EricO
<cardano-node><git>
Installing cardano-node: pathspec 'null'
# Installing cardano-node: pathspec 'null'

(Asked by: username_0 on 2023-12-27)

I'm following the instructions [here](https://developers.cardano.org/docs/get-started/installing-cardano-node) for both Linux and Mac M2 chip...

Both installs are stopped at this instruction, with the following error:

> ~cardano-source/cardano-node$ git checkout $(curl -s <https://api.github.com/repos/input-output-hk/cardano-node/releases/latest> | jq -r .tag\_name)
> error: pathspec 'null' did not match any files(s) known to git
> ~cardano-source/cardano-node$

Since I don't see any similar queztions here at Stack... I'm guessing I did something wrong, but I don't see it. Even after going through all the steps again. Can someone with better eyes than me provide some insight?

**Tags:** cardano-node, git
> **Comments:**
> **username_0**: This was the previous command >git fetch --all --recurse-submodules --tags  

---

## 1 answers

### Answer by username_0 on 2023-12-27. Score: 0

At any rate, `git describe --tags` seems to match the api doc at the url given; and `git describe --tags | git checkout` did it in both the mac and linux boxes.


---

