Skip to content
1password

GitHub Action

1Password CLI

v1.0.0 Latest version

1Password CLI

1password

1Password CLI

Install 1Password CLI in your pipeline

Installation

Copy and paste the following snippet into your .yml file.

              

- name: 1Password CLI

uses: 1Password/[email protected]

Learn more about this action in 1Password/install-cli-action

Choose a version

1Password CLI - GitHub Action

Install the 1Password CLI to access and manage your 1Password items in your GitHub Action runner.

Get started

✨ Quickstart

To install the latest version of the 1Password CLI:
(Note: latest version is installed by default, so you don't need to specify a version.)

- name: Install 1Password CLI
  uses: 1password/install-cli-action@v1

To install the latest beta version (i.e. latest-beta) of the 1Password CLI:

- name: Install 1Password CLI
  uses: 1password/install-cli-action@v1
  with:
    version: latest-beta

To install a specific version of the 1Password CLI:

- name: Install 1Password CLI
  uses: 1password/install-cli-action@v1
  with:
    version: 2.18.0

⚙️ Supported Runners

You can perform the action on Linux and macOS runners. Windows is not currently supported.

💙 Community & Support

🔐 Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests via BugCrowd.

For information about security practices, please visit our Security homepage.