1"use strict";(globalThis.webpackChunk_umka_docs=globalThis.webpackChunk_umka_docs||[]).push([[894],{6962(e,n,l){l.d(n,{R:()=>t,x:()=>c});var s=l(1979);const i={},a=s.createContext(i);function t(e){const n=s.useContext(a);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(i):e.components||i:t(e.components),s.createElement(a.Provider,{value:n},e.children)}},9189(e,n,l){l.r(n),l.d(n,{assets:()=>r,contentTitle:()=>c,default:()=>h,frontMatter:()=>t,metadata:()=>s,toc:()=>o});const s=JSON.parse('{"id":"cli/install","title":"Installation","description":"Quick Install","source":"@site/docs/cli/install.md","sourceDirName":"cli","slug":"/cli/install","permalink":"/help/cli/install","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":2,"frontMatter":{"sidebar_position":2,"title":"Installation"},"sidebar":"docs","previous":{"title":"Overview","permalink":"/help/cli/"},"next":{"title":"Authentication","permalink":"/help/cli/auth"}}');var i=l(1627),a=l(6962);const t={sidebar_position:2,title:"Installation"},c="Installation",r={},o=[{value:"Quick Install",id:"quick-install",level:2},{value:"Install a specific version",id:"install-a-specific-version",level:3},{value:"Custom install location",id:"custom-install-location",level:3},{value:"PATH Setup",id:"path-setup",level:2},{value:"Verify",id:"verify",level:2},{value:"Update",id:"update",level:2}];function d(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"installation",children:"Installation"})}),"\n",(0,i.jsx)(n.h2,{id:"quick-install",children:"Quick Install"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"curl -fsSL https://sh.umka.day | sh\n"})}),"\n",(0,i.jsxs)(n.p,{children:["This downloads the correct binary for your platform, verifies the SHA-256 checksum, and installs it to ",(0,i.jsx)(n.code,{children:"~/.local/bin/umka"}),"."]}),"\n",(0,i.jsx)(n.h3,{id:"install-a-specific-version",children:"Install a specific version"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"curl -fsSL https://sh.umka.day | sh -s -- 0.1.0\n"})}),"\n",(0,i.jsx)(n.h3,{id:"custom-install-location",children:"Custom install location"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"UMKA_INSTALL_DIR=/usr/local/bin curl -fsSL https://sh.umka.day | sh\n"})}),"\n",(0,i.jsx)(n.h2,{id:"path-setup",children:"PATH Setup"}),"\n",(0,i.jsxs)(n.p,{children:["If ",(0,i.jsx)(n.code,{children:"~/.local/bin"})," is not already in your PATH, add it to your shell config:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:'title="bash (~/.bashrc)"',children:'export PATH="$HOME/.local/bin:$PATH"\n'})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:'title="zsh (~/.zshrc)"',children:'export PATH="$HOME/.local/bin:$PATH"\n'})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",metastring:'title="fish (~/.config/fish/config.fish)"',children:"fish_add_path ~/.local/bin\n"})}),"\n",(0,i.jsx)(n.h2,{id:"verify",children:"Verify"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"umka --help\n"})}),"\n",(0,i.jsx)(n.h2,{id:"update",children:"Update"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"umka cli update\n"})}),"\n",(0,i.jsxs)(n.p,{children:["See ",(0,i.jsx)(n.a,{href:"/cli/update",children:"Update & Uninstall"})," for more details."]})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);
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.