> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/1password/signin.md).

# signin

1Password デスクトップ アプリを使用して 1Password CLI にサインインします。

```
$ op signin [flags]
```

#### **Flags** <a href="#id-1hpwctu9pog6" id="id-1hpwctu9pog6"></a>

```
-f, --force   Ignore warnings and print raw output from this command.
    --raw     Only return the session token.
```

1Password アプリの統合をオンにするには:

1. 1Password アプリを開きます。
2. **Settings > Security**に移動し、Touch ID、Windows Hello、または Linux システム認証オプションをオンにします。
3. **Developer > Settings**に移動し、**Integrate with 1Password CLI**を選択します。

[アプリの統合について詳しくはこちらをご覧ください。](https://developer.1password.com/docs/cli/app-integration/)

1Password アプリに複数の 1Password アカウントを追加すると、1Password CLI は次の順序で使うアカウントを決定します。

1. `--account`フラグで指定されたアカウント。
2. `OP_ACCOUNT`環境変数によって指定されたアカウント。
3. 任意のターミナル ウィンドウ内で最後に`op signin`サインインしたアカウント。

`op signin`はべき等です。まだ認証されていない場合にのみ認証を求めます。

#### [**例**](https://developer.1password.com/docs/cli/reference/commands/signin/#examples) <a href="#j43athoaecwd" id="j43athoaecwd"></a>

サインインして環境変数を 1 つの手順で設定します。

```
$ eval $(op signin --account acme.1password.com)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.dxable.com/1password/signin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
