2019-03-26 18:04:59 +02:00
---
layout: default
title: Installation
permalink: /installation
nav_order: 1
---
## Installation
1. Choose how to deploy:
2020-06-27 13:05:26 +02:00
a. Download [Prebuilt Binary ](https://github.com/oauth2-proxy/oauth2-proxy/releases ) (current release is `v6.0.0` )
2019-03-26 18:04:59 +02:00
2020-03-29 15:54:36 +02:00
b. Build with `$ go get github.com/oauth2-proxy/oauth2-proxy` which will put the binary in `$GOROOT/bin`
2019-03-26 18:04:59 +02:00
2020-03-29 15:54:36 +02:00
c. Using the prebuilt docker image [quay.io/oauth2-proxy/oauth2-proxy ](https://quay.io/oauth2-proxy/oauth2-proxy ) (AMD64, ARMv6 and ARM64 tags available)
2019-03-26 18:04:59 +02: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` .
```
2019-10-29 19:27:08 +02:00
$ sha256sum -c sha256sum.txt 2>& 1 | grep OK
2020-03-29 15:54:36 +02:00
oauth2-proxy-x.y.z.linux-amd64: OK
2019-03-26 18:04:59 +02:00
```
2019-05-10 13:25:05 +02:00
2. [Select a Provider and Register an OAuth Application with a Provider ](auth-configuration )
2019-03-26 18:04:59 +02:00
3. [Configure OAuth2 Proxy using config file, command line options, or environment variables ](configuration )
2019-05-09 16:12:27 +02:00
4. [Configure SSL or Deploy behind a SSL endpoint ](tls-configuration ) (example provided for Nginx)