> 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/update-to-the-latest-version-of-1password-cli.md).

# 1Password CLIを最新に保つ

### 1Password CLIを最新に保つ <a href="#id-12qnyci82ddm" id="id-12qnyci82ddm"></a>

最新の機能とセキュリティーの改善を確実に把握するには、常に1Password CLIの最新版を使用してください。

現在インストールされているバージョンを確認するには、 op --versionを使います。

### 最新版をダウンロードする <a href="#rbupe2buodqa" id="rbupe2buodqa"></a>

プラットフォームとアーキテクチャーの最新版をダウンロードするには、次の2つの方法があります。

* [リリースページ](https://app-updates.agilebits.com/product_history/CLI2)にアクセスして、1Password CLIの最新版をダウンロードしてください。
* コマンドラインから最新バージョンをダウンロードするには、op updateを使います。インストーラーをダウンロードする場所を選択する--directoryフラグを設定し (デフォルトは\~/Downloads)、ダウンロードを確認します。

op updateコマンドはサインインしなくてもご利用いただけます。

適切なインストーラーをダウンロードしたら、[インストール手順](https://developer.1password.com/docs/cli/get-started/#step-1-install-1password-cli)に従って更新を完了します。

### パッケージマネージャーを使って更新する <a href="#kol9ucmzqq6j" id="kol9ucmzqq6j"></a>

パッケージ マネージャーを使って1Password CLIをインストールした場合は、次のコマンドを使ってインストールを更新します。

Macの場合（Brewを使います）

$ brew upgrade --cask 1password-cli<br>

Linuxの場合

* Aptの場合

$ sudo apt update && sudo apt install 1password-cli

* Yumの場合

$ sudo dnf check-update -y 1password-cli && sudo dnf install 1password-cli

* Alpineの場合\
  $ apk add --update-cache 1password-cli


---

# 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/update-to-the-latest-version-of-1password-cli.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.
