# Build
```powershell
# requires chocolatey
# iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
cinst golang git
$go_path = "c:\projects\go"
$env:GOPATH += ";$go_path"
go get -u github.com/justwatchcom/gopass
$exe_path = "$go_path\bin\gopass.exe"
if (!(Test-Path $exe_path)) {throw "gopass.exe build failed"}
# To make it available on the PATH quickly:
#import-module $env:chocolateyInstall\helpers\chocolateyInstaller.psm1
#Install-BinFile gopass $exe_path
```
# Use
```powershell
#cinst gopass # once on chocolatey repository, will automatically install gpg-vanilla & git if needed.
cinst gpg-vanilla git
Update-SessionEnvironment #refresh PATH in current shell
```