1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["10172"],{20527(e,n,o){o.r(n),o.d(n,{metadata:()=>s,default:()=>m,frontMatter:()=>i,contentTitle:()=>c,toc:()=>d,assets:()=>a});var s=JSON.parse('{"id":"commands/version","title":"version","description":"The \\"version\\" command prints the version of OpenBao.","source":"@site/versioned_docs/version-2.5.x/commands/version.mdx","sourceDirName":"commands","slug":"/commands/version","permalink":"/docs/2.5.x/commands/version","draft":false,"unlisted":false,"editUrl":"https://github.com/openbao/openbao/blob/release/2.5.x/website/content/docs/commands/version.mdx","tags":[],"version":"2.5.x","frontMatter":{"description":"The \\"version\\" command prints the version of OpenBao."},"sidebar":"docs","previous":{"title":"unwrap","permalink":"/docs/2.5.x/commands/unwrap"},"next":{"title":"version-history","permalink":"/docs/2.5.x/commands/version-history"}}'),r=o(94686),t=o(44812);let i={description:'The "version" command prints the version of OpenBao.'},c="version",a={},d=[];function l(e){let n={code:"code",h1:"h1",header:"header",p:"p",pre:"pre",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"version",children:"version"})}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"version"})," command prints the OpenBao version:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-shell-session",children:"$ bao version\nOpenBao v1.2.3\n"})}),"\n",(0,r.jsxs)(n.p,{children:["It can also be printed by adding the flags ",(0,r.jsx)(n.code,{children:"--version"})," or ",(0,r.jsx)(n.code,{children:"-v"})," to the ",(0,r.jsx)(n.code,{children:"bao"})," command:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-shell-session",children:"$ bao -v\nOpenBao v1.2.3, built 2022-05-03T08:34:11Z\n"})})]})}function m(e={}){let{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},44812(e,n,o){o.d(n,{R:()=>i,x:()=>c});var s=o(92990);let r={},t=s.createContext(r);function i(e){let n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.