# Replicated CLI set token?

**URL:** <https://community.replicated.com/t/replicated-cli-set-token/1615>\
**Category:** Uncategorized\
**Created:** [April 27, 2026, 5:50pm UTC](https://community.replicated.com/t/replicated-cli-set-token/1615 "2026-04-27T17:50:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lepome](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/lepome/32/780_2.png) [@lepome](https://community.replicated.com/u/lepome)\
**Post date:** [April 27, 2026, 5:50pm UTC](https://community.replicated.com/t/replicated-cli-set-token/1615/1 "2026-04-27T17:50:22Z")

</div>

The documentation here: [replicated profile | Replicated](https://docs.replicated.com/reference/replicated-cli-profile#examples) implies that I can use commands like

> ```auto
> # Add a production profile (will prompt for token)
> 
> ```
> 
> `replicated profile add prod`
> 
> `# Add a production profile with token flag`
> 
> `replicated profile add prod --token=your-prod-token`

and

> ```auto
> # List all profiles
> 
> ```
> 
> `replicated profile ls`

When I try to do that I see

> Error: unknown command “profile” for “replicated”  
> Run ‘replicated --help’ for usage.

what have I done incorrectly?

---

<div class="post-metadata">

**Author:** ![Alex\_Parker](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/alex_parker/32/777_2.png) [@Alex\_Parker](https://community.replicated.com/u/Alex_Parker)\
**Post date:** [April 27, 2026, 6:08pm UTC](https://community.replicated.com/t/replicated-cli-set-token/1615/2 "2026-04-27T18:08:03Z")

</div>

I wonder if you’re not on the latest version of the CLI. Try `replicated version` and see if you’re on the latest, which is 0.126.0.

---

<div class="post-metadata">

**Author:** ![lepome](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/lepome/32/780_2.png) [@lepome](https://community.replicated.com/u/lepome)\
**Post date:** [April 27, 2026, 6:54pm UTC](https://community.replicated.com/t/replicated-cli-set-token/1615/3 "2026-04-27T18:54:01Z")

</div>

That was it! Thank you!
