For people with access to the private source repository.
This route needs access to the private source repository. Warden’s source is not
public, so the Go module proxy cannot serve it and go install fails for anyone without
a GitHub account that can read the repository. If you are installing Warden to use it,
Homebrew or the container image are the routes
that work — both serve public artefacts built from that private source.With access, tell Go to bypass the public proxy and authenticate to GitHub:
CGO_ENABLED=1 is required, and so is a C compiler. Warden links PostgreSQL’s own parser (pg_query_go) rather than approximating SQL with regular expressions, and that parser is C. With cgo disabled the build fails.
Platform
What to install
macOS
xcode-select --install (Command Line Tools)
Debian / Ubuntu
sudo apt-get install build-essential
Fedora / RHEL
sudo dnf install gcc make
Alpine
apk add build-base
This is also why there is no GOOS=windows build and why cross-compiling is awkward: every target needs a toolchain for that target. Releases are built on native runners for exactly this reason.
go install github.com/Abhishek-Mallick/Warden/cmd/warden@v0.1.0
@latest resolves to the newest tagged release that the proxy — or, for a private module, your own git access — can see. With no tags yet, use @main to track the branch:
go install github.com/Abhishek-Mallick/Warden/cmd/warden@main
A binary built this way reports the version stamped by the module proxy rather than a release’s own version string; warden version printing dev means it came from a branch build rather than a tag.
go install gives you the two executables and nothing else — no policy examples, no compose stack, no certification fixtures. For those, clone the repository.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Warden","description":"The warden between your agents and your database. Governed data access for AI agents.","colors":{"primary":"#1F6F5C","light":"#3BA88A","dark":"#12453A"},"logo":{"light":"https://mintcdn.com/buildlab/dUwtnXQEzOkmdfAr/logo/warden-light.svg?fit=max\u0026auto=format\u0026n=dUwtnXQEzOkmdfAr\u0026q=85\u0026s=5c916c3897998322e4d8e61a772aa361","dark":"https://mintcdn.com/buildlab/dUwtnXQEzOkmdfAr/logo/warden-dark.svg?fit=max\u0026auto=format\u0026n=dUwtnXQEzOkmdfAr\u0026q=85\u0026s=1123f32f05cf0449b100aa2061be7fcb","href":"https://buildlab.mintlify.site/"},"favicon":"https://mintcdn.com/buildlab/dUwtnXQEzOkmdfAr/favicon.svg?fit=max\u0026auto=format\u0026n=dUwtnXQEzOkmdfAr\u0026q=85\u0026s=70271017cbd28ff18501d6f71f3f7667","navbar":{"links":[{"href":"https://github.com/Abhishek-Mallick/warden-dist/releases","label":"Releases"}],"primary":{"type":"button","label":"Quickstart","href":"/quickstart"}},"footer":{"socials":{"github":"https://github.com/Abhishek-Mallick/warden-dist"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"buildlab","hasAudioNarration":false,"actualSubdomain":"buildlab","customDomains":["warden.buildlab.in"],"gitSource":{"type":"github","owner":"abhishek-mallick","repo":"warden","deployBranch":"main","contentDirectory":"web","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ab93fc6a3c670255a7c1586","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Documentation","count":25},{"language":"default","tag":"Concepts","count":12},{"language":"default","tag":"How Warden works","count":7},{"language":"default","tag":"Offerings","count":7},{"language":"default","tag":"Configure","count":5},{"language":"default","tag":"Engines","count":5},{"language":"default","tag":"Install","count":5},{"language":"default","tag":"Operate","count":5},{"language":"default","tag":"API","count":3},{"language":"default","tag":"Reference","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"install/go-install","slug":"/install/go-install","pageMetadata":{"title":"go install","description":"For people with access to the private source repository.","href":"/install/go-install"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"For people with access to the private source repository.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This route needs access to the private source repository.`}),` Warden’s source is not\npublic, so the Go module proxy cannot serve it and `,_jsx(_components.code,{children:`go install`}),` fails for anyone without\na GitHub account that can read the repository. If you are installing Warden to use it,\n`,_jsx(_components.a,{href:`/install/homebrew`,children:`Homebrew`}),` or `,_jsx(_components.a,{href:`/install/docker`,children:`the container image`}),` are the routes\nthat work — both serve public artefacts built from that private source.`]}),_jsx(_components.p,{children:`With access, tell Go to bypass the public proxy and authenticate to GitHub:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GOPRIVATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`github`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Abhishek-Mallick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --global`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` url.\"git@github.com:\".insteadOf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://github.com/\"`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`go`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` github.com/Abhishek-Mallick/Warden/cmd/warden@latest`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`go`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` github.com/Abhishek-Mallick/Warden/mcp/warden-mcp@latest`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Both land in `,_jsx(_components.code,{children:`$(go env GOPATH)/bin`}),`. Put that on your `,_jsx(_components.code,{children:`PATH`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`you-need-a-c-toolchain`,children:`You need a C toolchain`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CGO_ENABLED=1`}),` is required, and so is a C compiler. Warden links `,_jsx(_components.strong,{children:`PostgreSQL’s own parser`}),` (`,_jsx(_components.code,{children:`pg_query_go`}),`) rather than approximating SQL with regular expressions, and that parser is C. With cgo disabled the build fails.`]})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Platform`}),_jsx(_components.th,{children:`What to install`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`macOS`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`xcode-select --install`}),` (Command Line Tools)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Debian / Ubuntu`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sudo apt-get install build-essential`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Fedora / RHEL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sudo dnf install gcc make`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Alpine`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`apk add build-base`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`This is also why there is no `,_jsx(_components.code,{children:`GOOS=windows`}),` build and why cross-compiling is awkward: every target needs a toolchain for that target. Releases are built on native runners for exactly this reason.`]}),`\n`,_jsx(Heading,{level:`2`,id:`pinning-a-version`,children:`Pinning a version`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`go`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` github.com/Abhishek-Mallick/Warden/cmd/warden@v0.1.0`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`@latest`}),` resolves to the newest tagged release that the proxy — or, for a private module, your own git access — can see. With no tags yet, use `,_jsx(_components.code,{children:`@main`}),` to track the branch:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`go`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` github.com/Abhishek-Mallick/Warden/cmd/warden@main`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`checking-it-worked`,children:`Checking it worked`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`warden`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` version`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A binary built this way reports the version stamped by the module proxy rather than a release’s own version string; `,_jsx(_components.code,{children:`warden version`}),` printing `,_jsx(_components.code,{children:`dev`}),` means it came from a branch build rather than a tag.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`go install`}),` gives you the two executables and nothing else — no policy examples, no compose stack, no certification fixtures. For those, `,_jsx(_components.a,{href:`/install/source`,children:`clone the repository`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"go install","description":"For people with access to the private source repository.","href":"/install/go-install"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"You need a C toolchain","slug":"you-need-a-c-toolchain","depth":2,"children":[]},{"title":"Pinning a version","slug":"pinning-a-version","depth":2,"children":[]},{"title":"Checking it worked","slug":"checking-it-worked","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"buildlab","siteName":"Warden","title":"go install - Warden","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T17:18:56.622Z","originalFileLocation":"install/go-install.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"For people with access to the private source repository.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Warden\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"go install - Warden\">\u003cmeta data-mint-head property=\"og:description\" content=\"For people with access to the private source repository.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Warden\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://warden.buildlab.in/install/go-install\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://buildlab.mintlify.site/_mintlify/api/og/v2?division=Install\u0026amp;title=go+install\u0026amp;description=For+people+with+access+to+the+private+source+repository.\u0026amp;theme=e77cba30ec62e899ed9fdfd5\u0026amp;signature=16f9e10e6f939965bf93265a7964a3ab37ac9d83559069dd966cc3539c8c1e96\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"go install - Warden\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"For people with access to the private source repository.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://buildlab.mintlify.site/_mintlify/api/og/v2?division=Install\u0026amp;title=go+install\u0026amp;description=For+people+with+access+to+the+private+source+repository.\u0026amp;theme=e77cba30ec62e899ed9fdfd5\u0026amp;signature=16f9e10e6f939965bf93265a7964a3ab37ac9d83559069dd966cc3539c8c1e96\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/buildlab/4rM301cFHivaFqFN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Warden\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F6F5C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://warden.buildlab.in/install/go-install\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/install/go-install.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://warden.buildlab.in/#organization\",\"name\":\"Warden\",\"url\":\"https://warden.buildlab.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/buildlab/dUwtnXQEzOkmdfAr/logo/warden-light.svg?fit=max\u0026auto=format\u0026n=dUwtnXQEzOkmdfAr\u0026q=85\u0026s=5c916c3897998322e4d8e61a772aa361\"}},{\"@type\":\"WebSite\",\"@id\":\"https://warden.buildlab.in#website\",\"name\":\"Warden\",\"url\":\"https://warden.buildlab.in\",\"publisher\":{\"@id\":\"https://warden.buildlab.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://warden.buildlab.in/install/go-install#webpage\",\"url\":\"https://warden.buildlab.in/install/go-install\",\"name\":\"go install\",\"description\":\"For people with access to the private source repository.\",\"dateModified\":\"2026-09-23T17:18:56.622Z\",\"isPartOf\":{\"@id\":\"https://warden.buildlab.in#website\"},\"breadcrumb\":{\"@id\":\"https://warden.buildlab.in/install/go-install#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://warden.buildlab.in/install/go-install#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Install\",\"item\":\"https://warden.buildlab.in/install/homebrew\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"go install\",\"item\":\"https://warden.buildlab.in/install/go-install\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://warden.buildlab.in/install/go-install#article\",\"headline\":\"go install\",\"name\":\"go install\",\"description\":\"For people with access to the private source repository.\",\"url\":\"https://warden.buildlab.in/install/go-install\",\"mainEntityOfPage\":{\"@id\":\"https://warden.buildlab.in/install/go-install#webpage\"},\"dateModified\":\"2026-09-23T17:18:56.622Z\",\"publisher\":{\"@id\":\"https://warden.buildlab.in/#organization\"},\"isPartOf\":{\"@id\":\"https://warden.buildlab.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Warden\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Warden","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Start here","pages":[{"title":"Warden","sidebarTitle":"Introduction","mode":"wide","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"What you get","href":"/what-you-get"}]},{"group":"Offerings","pages":[{"title":"Overview","href":"/offerings/overview"},{"title":"warden — the gateway","sidebarTitle":"warden (gateway)","href":"/offerings/gateway"},{"title":"warden-mcp — the MCP server","sidebarTitle":"warden-mcp (MCP)","href":"/offerings/mcp-server"},{"title":"wardencert — certification","sidebarTitle":"wardencert","href":"/offerings/wardencert"},{"title":"Container image","href":"/offerings/container"},{"title":"Is Warden a Go package?","sidebarTitle":"Go module","href":"/offerings/go-module"},{"title":"SDKs","href":"/offerings/sdks"}]},{"group":"Install","pages":[{"title":"Homebrew","description":"Install the gateway and the MCP server on macOS or Linux.","href":"/install/homebrew"},{"title":"go install","href":"/install/go-install"},{"title":"Docker","description":"Run the gateway as a container, alone or with a PostgreSQL beside it.","href":"/install/docker"},{"title":"From source","href":"/install/source"},{"title":"Releases and verification","href":"/install/releases"}]},{"group":"Configure","pages":[{"title":"warden.yaml","href":"/configure/warden-yaml"},{"title":"Policy","href":"/configure/policy"},{"title":"Approvals","href":"/configure/approvals"},{"title":"Notifications","href":"/configure/notifications"},{"title":"TLS and state","href":"/configure/tls-and-state"}]},{"group":"Operate","pages":[{"title":"CLI reference","href":"/operate/cli"},{"title":"Operator view","href":"/operate/operator-view"},{"title":"Debug Mode","href":"/operate/debug-mode"},{"title":"Metrics","href":"/operate/metrics"},{"title":"Audit","href":"/operate/audit"}]}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/concepts/architecture"}]},{"tab":"API","pages":[{"title":"API","href":"/api/data-plane"}]}]},"basePath":"","title":"go install - Warden","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}