Skip to content

Instantly share code, notes, and snippets.

@dragon788 dragon788/ forked from majkinetor/
Created Oct 18, 2017

What would you like to do?
GoPass #security #build


# requires chocolatey
# iwr -UseBasicParsing | iex
cinst golang git

$go_path = "c:\projects\go"
$env:GOPATH += ";$go_path"
go get -u

$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


#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.