# Unable to paste access token in cmd

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%3E%5C
**Category:** Beginners\
**Created:** [October 23, 2022, 4:30am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834 "2022-10-23T04:30:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkontgas](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@nkontgas](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fnkontgas)%5C
**Post date:** [October 23, 2022, 4:30am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F1 "2022-10-23T04:30:55Z")

</div>

I am trying to use the huggingface-cli login command to install Stable Diffusion. I am at the end of the process where I need to use the huggingface-cli login command to log in to hugging face. However, I am unable to type the access token or past it. I don’t know why, and my searches haven’t turned up much useful information. Any help would be appreciated. No error is given. I just can’t enter anything at the Token: prompt.

---

<div class="post-metadata">

**Author:** ![Budgized](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@Budgized](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FBudgized)%5C
**Post date:** [November 24, 2022, 4:07pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F2 "2022-11-24T16:07:49Z")

</div>

Make sure your running as administrator, right click the top of the window, highlight edit, paste. Your token wont be visible but entering should work. Sorry that its taken someone this long to reply.

---

<div class="post-metadata">

**Author:** ![jackoyoungblood](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jackoyoungblood](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjackoyoungblood)%5C
**Post date:** [March 8, 2023, 7:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F3 "2023-03-08T19:53:27Z")

</div>

I had this problem as well and for some reason I could only get it to successfully paste the token by rightclicking on the command window (not selecting Edit-\>Paste in top left as usual). It wasn’t visible but worked.

---

<div class="post-metadata">

**Author:** ![RKTR1998](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/rktr1998/32/28300_2.png) [@RKTR1998](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRKTR1998)%5C
**Post date:** [October 29, 2023, 11:48am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F4 "2023-10-29T11:48:12Z")

</div>

It’s much simpler to give the token as an argument to the first call as follows:

**huggingface-cli login --token YOUR\_TOKEN\_GOES\_HERE**

Simply running **huggingface-cli login -h** will show you this option which solves the copy-paste issue immediately.

---

<div class="post-metadata">

**Author:** ![LiamBurnito](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/liamburnito/32/37430_2.png) [@LiamBurnito](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FLiamBurnito)%5C
**Post date:** [December 12, 2024, 12:15pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F5 "2024-12-12T12:15:34Z")

</div>

Thanks! This was so frustrating.

---

<div class="post-metadata">

**Author:** ![prasadbelure](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/prasadbelure/32/40177_2.png) [@prasadbelure](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fprasadbelure)%5C
**Post date:** [January 31, 2025, 3:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F6 "2025-01-31T15:08:04Z")

</div>

Thank you it was soo irritating .

---

<div class="post-metadata">

**Author:** ![Xinwei27](https://avatars.discourse-cdn.com/v4/letter/x/7c8e57/32.png) [@Xinwei27](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FXinwei27)%5C
**Post date:** [March 11, 2026, 5:29pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-paste-access-token-in-cmd%2F24834%2F7 "2026-03-11T17:29:43Z")

</div>

hf auth login --token YOUT\_TOKEN
