Documentation Index
Fetch the complete documentation index at: https://www.1password.dev/llms.txt
Use this file to discover all available pages before exploring further.
There are several different ways to install 1Password CLI on a server.
To install 1Password CLI on a Linux amd64 host, you can use this one-line command:
ARCH="amd64"; \
OP_VERSION="v$(curl https://app-updates.agilebits.com/check/1/0/CLI2/en/2.0.0/N -s | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')"; \
curl -sSfo op.zip \
https://cache.agilebits.com/dist/1P/op2/pkg/"$OP_VERSION"/op_linux_"$ARCH"_"$OP_VERSION".zip \
&& unzip -od /usr/local/bin/ op.zip \
&& rm op.zip
To install with Docker, you can use the 1Password CLI 2 Docker image:
docker pull 1password/op:2
If you want to add the CLI installation to your Dockerfile, then add this line:
COPY --from=1password/op:2 /usr/local/bin/op /usr/local/bin/op
Learn more