<p>Do not build/use the client from <a href="https://github.com/input-output-hk/cardano-cli" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-cli</a></p>

CC BY-SA 4.0
2021-10-07T05:01:32.910Z
2021-10-07T05:01:32.910Z
robertwb
<p>Assuming your cardano-cli version is up to date, if you are typing in the command exactly as typed above, you will need to escape the line breaks like so:</p>
<pre><code>cardano-cli address key-gen \
  --verification-key-file payment.vkey \
  --signing-key-file payment.skey
</code></pre>

CC BY-SA 4.0
2021-08-26T17:10:45.673Z
that was my first thought, but that doesnt lead to this error message
wutzebaer
CC BY-SA 4.0
2021-08-26T17:09:44.247Z
2021-08-26T17:09:44.247Z
Michael Stewart
<p>Having trouble create a key for an nft.</p>
<p>Code:</p>
<pre><code>cardano-cli address key-gen \
 --verification-key-file payment.vkey \
 --signing-key-file payment.skey
</code></pre>
<p>Error:</p>
<pre><code>error: Found argument 'address' which wasn't expected, or isn't valid in this context
</code></pre>
<p>Any help is appreciated</p>

CC BY-SA 4.0
2021-08-26T17:05:50.523Z
can you show the output of `cardano-cli --version` ?
wutzebaer
CC BY-SA 4.0
2021-10-07T04:30:33.843Z
I'm getting the same error for cardano-cli version: 1.0.1.
robertwb
<nft>
Can't create keys for an NFT. cardano-cli address key-gen
# Can't create keys for an NFT. cardano-cli address key-gen

(Asked by: username_0 on 2021-08-26)

Having trouble create a key for an nft.
Code:
cardano-cli address key-gen \
 --verification-key-file payment.vkey \
 --signing-key-file payment.skey

Error:
error: Found argument 'address' which wasn't expected, or isn't valid in this context

Any help is appreciated

**Tags:** nft
> **Comments:**
> **username_1**: can you show the output of `cardano-cli --version` ?  
> **username_2**: I'm getting the same error for cardano-cli version: 1.0.1.  

---

## 2 answers

### Answer by username_2 on 2021-10-07. Score: 1

Do not build/use the client from <https://github.com/input-output-hk/cardano-cli>


---

### Answer by username_3 on 2021-08-26. Score: 0

Assuming your cardano-cli version is up to date, if you are typing in the command exactly as typed above, you will need to escape the line breaks like so:
cardano-cli address key-gen \
  --verification-key-file payment.vkey \
  --signing-key-file payment.skey

> **Comments:**
> **username_1**: that was my first thought, but that doesnt lead to this error message  

---

