> 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/uninstall-shell-plugins.md).

# シェルプラグインをアンインストールする

### **シェルプラグインをアンインストールする** <a href="#fuq8trvxq0tj" id="fuq8trvxq0tj"></a>

[1Password Shell プラグインは、](https://developer.1password.com/docs/cli/shell-plugins/)いつでも使用を停止できるように構築されています。

* [シェルプラグインの設定をリセットする](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#clear-your-default-credentials-for-a-plugin)場合は、デフォルトの資格情報をクリアできます。
* [シェルプラグインの使用を一時的に停止する](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#temporarily-stop-using-a-shell-plugin)場合は、unalias \<plugin-executable>コマンドを使うか、その実行可能ファイルのエイリアスをplugins.shファイルから削除することで停止できます。
* [全てのシェルプラグインの使用を一時的に停止する](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#temporarily-stop-using-all-shell-plugins)場合は、シェルプロファイルからファイルをplugins.shをソースするコマンドを削除することで停止できます。
* [また、シェルプラグインを完全にアンインストールし](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#completely-stop-using-shell-plugins)たい場合は、それも可能です。

### **プラグインのデフォルトの資格情報をクリアする** <a href="#id-6zt7u0oi2vj3" id="id-6zt7u0oi2vj3"></a>

シェルプラグインのデフォルトの資格情報を削除する場合は次のように入力してください。

$ op plugin clear \<plugin-executable>

資格情報は、次の順序で削除されます。

1. ターミナルセッションのデフォルト
2. ディレクトリーのデフォルト、現在のディレクトリーから$HOMEまで
3. グローバルデフォルト

シェルプラグインに設定した全ての資格情報を一度に削除するには次のコマンドを実行します。

$ op plugin clear \<plugin-executable> --all

### シェルプラグインを使い一時停止する <a href="#ggcaeb5qeq3j" id="ggcaeb5qeq3j"></a>

現在のターミナルセッションでシェルプラグインの使用を停止する場合は、次のコマンドを実行します。

$ unalias \<plugin-executable>

長期間にわたってプラグインの使用を一時的に停止したい場合は、plugins.shファイルからそのプラグインのエイリアスを削除します。そうすると、サードパーティーの CLI を使うときに 1Password CLI は認証を処理しなくなります。

1. [plugins.shファイル](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#if-you-cant-find-your-pluginssh-file)を開きます。
2. 使用を停止するプラグインのエイリアスを削除します。\
   例：\
   alias aws="op plugin run -- aws"。
3. ファイルをSaveします。
4. 変更を有効にするには、新しいターミナルウィンドウを開くか、シェルプロファイルをソースします。

いつでもエイリアスをファイルに追加して、現在の設定でシェルプラグインを引き続き使用できます。

### **全てのシェルプラグインを一時停止する** <a href="#envk3pgz19r1" id="envk3pgz19r1"></a>

plugins.sh設定を削除することなくシェルプラグインの使用を一時的に停止したい場合は、シェルプロファイルからファイルをソースするコマンドを削除することで停止できます。

1. シェル プロファイルを開きます。
2. 次のような行を削除します。[plugins.shファイル パス](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#if-you-cant-find-your-pluginssh-file)は環境によって異なる場合があります。\
   $ source \~/.config/op/plugins.sh
3. 変更を有効にするには、新しいターミナルセッションを開くか、シェルプロファイルをソースします。

1Passwordでは、サードパーティーのCLIに対して認証を求めるプロンプトが表示されなくなります。

### **シェルプラグインを完全に停止する** <a href="#id-4xsvn0q3fqut" id="id-4xsvn0q3fqut"></a>

シェルプラグインの使用を完全に停止し、構成に関する全ての情報を削除するには次のようにします。

1. 各プラグインの[デフォルトの資格情報をクリアします。](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#clear-your-default-credentials-for-a-plugin)
2. シェルプロファイルから[plugins.shファイルをソースするコマンドを削除します。](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#temporarily-stop-using-all-shell-plugins)
3. opディレクトリー内の[plugins.shファイル](https://developer.1password.com/docs/cli/shell-plugins/uninstall/#if-you-cant-find-your-pluginssh-file)とpluginsフォルダーを削除します。
4. ディレクトリー固有のデフォルトを設定した場合は、それらのディレクトリーから.opフォルダーを削除します。

### **ヘルプを受ける** <a href="#g0aohjsnpmxp" id="g0aohjsnpmxp"></a>

#### **plugins.shファイルが見つからない場合は** <a href="#bjsskhli033r" id="bjsskhli033r"></a>

plugins.shファイルのファイル パスは、[設定ディレクトリー](https://developer.1password.com/docs/cli/config-directories/)によって異なる場合があります。一般的な場所は次のとおりです。

* \~/.op/plugins.sh
* \~/.config/op/plugins.sh
* \~/op/plugins.sh


---

# 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/uninstall-shell-plugins.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.
