# 2FA appears in Terminal/CLI -- in a login item

**URL:** <https://community.bitwarden.com/t/2fa-appears-in-terminal-cli-in-a-login-item/89279>\
**Category:** Password Manager\
**Tags:** os:mac, app:cli, server:selfhost-lite\
**Created:** [September 20, 2025, 2:11pm UTC](https://community.bitwarden.com/t/2fa-appears-in-terminal-cli-in-a-login-item/89279 "2025-09-20T14:11:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![grb](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/grb/32/22038_2.png) [@grb](https://community.bitwarden.com/u/grb)\
**Post date:** [September 22, 2025, 2:23pm UTC](https://community.bitwarden.com/t/2fa-appears-in-terminal-cli-in-a-login-item/89279/4 "2025-09-22T14:23:53Z")

</div>

I’m not sure that I understand your question.

Maybe this comment will provide some information that can help you:

> [@CLI - Add an item with an url](https://community.bitwarden.com/t/cli-add-an-item-with-an-url/41557/4):
>
> I validated too quickly your answer. I’m scripting under Shell (Bash). I found the good solution: NAME\_ITEM="my beautiful item" USER="user" PASSWORD="strong\_password" URL="https://my.beautifulsite.com" URIS=$(bw get template item.login.uri | jq ".match="0" | .uri=\"${URL}\"" | jq -c) bw get template item | \ jq ".name=\"${NAME\_ITEM}\" | \ .login=$(bw get template item.login | jq ".username=\"${USER}\" | .password=\"${PASSWORD}\" | .uris=[${URIS}] | .totp=null")" | \ jq '.organizationId="123…

(however, please note that the script in the linked comment uses a **bash** shell, not **zsh** , so some of the required syntax may be different)

---

_[View the full topic](https://community.bitwarden.com/t/2fa-appears-in-terminal-cli-in-a-login-item/89279)._
