2023-08-11 14:49:42 +02:00
---
id: installation
title: Installation
slug: /
---
1. Choose how to deploy:
2023-11-18 14:56:29 +01:00
a. Using a [Prebuilt Binary ](https://github.com/oauth2-proxy/oauth2-proxy/releases ) (current release is `v7.5.1` )
2023-08-11 14:49:42 +02:00
2023-11-18 14:56:29 +01:00
b. Using Go to install the latest release
```bash
$ go install github.com/oauth2-proxy/oauth2-proxy/v7@latest
```
2024-03-31 03:48:07 +02:00
This will install the binary into `$GOPATH/bin` . Make sure you include `$GOPATH` in your `$PATH` . Otherwise your system won't find binaries installed via `go install`
2023-11-18 14:56:29 +01:00
c. Using a [Prebuilt Docker Image ](https://quay.io/oauth2-proxy/oauth2-proxy ) (AMD64, PPC64LE, ARMv6, ARMv7, and ARM64 available)
2023-08-11 14:49:42 +02:00
2023-11-18 14:56:29 +01:00
d. Using a [Pre-Release Nightly Docker Image ](https://quay.io/oauth2-proxy/oauth2-proxy-nightly ) (AMD64, PPC64LE, ARMv6, ARMv7, and ARM64 available)
2023-08-11 14:49:42 +02:00
2023-11-18 14:56:29 +01:00
e. Using the official [Kubernetes manifest ](https://github.com/oauth2-proxy/manifests ) (Helm)
2023-08-11 14:49:42 +02:00
2023-11-18 14:56:29 +01:00
Prebuilt binaries can be validated by extracting the file and verifying it against the `sha256sum.txt` checksum file provided for each release starting with version `v3.0.0` .
2023-08-11 14:49:42 +02:00
2023-11-18 14:56:29 +01:00
```
sha256sum -c sha256sum.txt 2>& 1 | grep OK
oauth2-proxy-x.y.z.linux-amd64: OK
```
2023-08-11 14:49:42 +02:00
2. [Select a Provider and Register an OAuth Application with a Provider ](configuration/auth.md )
3. [Configure OAuth2 Proxy using config file, command line options, or environment variables ](configuration/overview.md )
4. [Configure SSL or Deploy behind a SSL endpoint ](configuration/tls.md ) (example provided for Nginx)