# Provide account when running npx @slicemachine/init

**URL:** <https://community.prismic.io/t/provide-account-when-running-npx-slicemachine-init/9480>\
**Category:** Developing with Prismic\
**Tags:** cli\
**Created:** [March 23, 2022, 1:29am UTC](https://community.prismic.io/t/provide-account-when-running-npx-slicemachine-init/9480 "2022-03-23T01:29:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![singhgru](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/singhgru/32/4177_2.png) [@singhgru](https://community.prismic.io/u/singhgru)\
**Post date:** [March 23, 2022, 1:29am UTC](https://community.prismic.io/t/provide-account-when-running-npx-slicemachine-init/9480/1 "2022-03-23T01:29:39Z")

</div>

I have multiple Prismic accounts. When I ran **npx @slicemachine/init --repository my-repo** on my mac machine the CLI picked up wrong account because of auto login in browser.

This seems like a bug as I assume repository name to be unique and CLI should be able to figure out which account to use or at least give an option to clear current token/credentials.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [March 24, 2022, 2:10am UTC](https://community.prismic.io/t/provide-account-when-running-npx-slicemachine-init/9480/2 "2022-03-24T02:10:34Z")

</div>

Hello @singhgru, thanks for sharing this informaton. You can also change the account that's logged in locally with the prismic cli. Here's the list of commands:

> **[prismic-cli Technical Reference](https://prismic.io/docs/technical-reference/prismic-cli#basic-commands)**
>
> A Node CLI for developing JavaScript apps with Prismic. Includes utilities for Slice Machine.
