1import{j as n}from"./ui-C0aHyMyD.js";function c(s){const e={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...s.components},{Callout:a,Feature:i,FeatureGrid:l,ProductVideo:r}=e;return a||t("Callout"),i||t("Feature"),l||t("FeatureGrid"),r||t("ProductVideo"),n.jsxs(n.Fragment,{children:[n.jsxs(e.p,{children:["The BankSync CLI (",n.jsx(e.code,{children:"banksync"}),") brings your workspace to the terminal: connect banks, pull transactions, manage feeds, trigger syncs, and drive automation. It is a single command that works the same on macOS, Linux, and Windows, and it is built to be scriptable and agent-friendly."]}),` 2`,n.jsxs(e.p,{children:[n.jsx(e.code,{children:"banksync"})," is a single, self-contained native binary. It has ",n.jsx(e.strong,{children:"no runtime dependency"})," (no Node, nothing to install or manage) to either install or run. The one-line installer detects your OS and CPU, downloads the right build, verifies its checksum, and puts ",n.jsx(e.code,{children:"banksync"})," on your PATH."]}),` 3`,n.jsx(r,{cdnKey:"videos/cli-quickstart",title:"BankSync CLI in action",caption:"After installation, authenticate once, list banks, and stream transaction data into standard command-line tools."}),` 4`,n.jsx(a,{type:"note",title:"No runtime required",children:n.jsx(e.p,{children:`The binary bundles everything it needs, so you do not need Node (or any other runtime) installed. 5The CLI always talks to production, so there is nothing to configure after install.`})}),` 6`,n.jsxs(l,{columns:3,children:[n.jsx(i,{icon:"bolt",color:"blue",title:"One command",children:n.jsx(e.p,{children:"A single installer for macOS, Linux, and Windows. Nothing to configure."})}),n.jsx(i,{icon:"cloud",color:"green",title:"Self-contained",children:n.jsx(e.p,{children:"A single executable with its runtime baked in: no Node, no dependencies."})}),n.jsx(i,{icon:"check",color:"purple",title:"Self-updating",children:n.jsxs(e.p,{children:["Run ",n.jsx(e.code,{children:"banksync update"})," any time; it fetches, verifies, and swaps in the latest build."]})})]}),` 7`,n.jsx(e.h2,{id:"macos-and-linux",children:"macOS and Linux"}),` 8`,n.jsxs(e.p,{children:["Run the one-line installer. It detects your OS and CPU architecture, downloads the matching build, verifies its SHA-256, and puts ",n.jsx(e.code,{children:"banksync"})," on your PATH."]}),` 9`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`curl -fsSL https://banksync.io/install.sh | sh 10`})}),` 11`,n.jsx(e.p,{children:"If you prefer to inspect the script before running it, download it first, read it, then run it:"}),` 12`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`curl -fsSL https://banksync.io/install.sh -o install-banksync.sh 13less install-banksync.sh 14sh install-banksync.sh 15`})}),` 16`,n.jsxs(e.p,{children:["The installer puts the binary in ",n.jsx(e.code,{children:"/usr/local/bin"})," if it is writable, otherwise ",n.jsx(e.code,{children:"~/.local/bin"}),". If that directory is not already on your PATH, the installer tells you the one line to add."]}),` 17`,n.jsx(e.h2,{id:"windows",children:"Windows"}),` 18`,n.jsxs(e.p,{children:["Run the one-line installer in PowerShell. It downloads the right build, verifies its checksum, and adds ",n.jsx(e.code,{children:"banksync"})," to your user PATH."]}),` 19`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-powershell",children:`irm https://banksync.io/install.ps1 | iex 20`})}),` 21`,n.jsx(e.p,{children:"Prefer to inspect it first? Download, read, then run:"}),` 22`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-powershell",children:`irm https://banksync.io/install.ps1 -OutFile install-banksync.ps1 23notepad install-banksync.ps1 24./install-banksync.ps1 25`})}),` 26`,n.jsx(a,{type:"info",title:"Homebrew is coming",children:n.jsxs(e.p,{children:["A Homebrew tap (",n.jsx(e.code,{children:"brew install banksync"}),`) is planned for a future release. Until then, use the 27install script on macOS.`]})}),` 28`,n.jsx(e.h2,{id:"verify-the-install",children:"Verify the install"}),` 29`,n.jsx(e.p,{children:"Confirm the command is on your PATH and prints a version:"}),` 30`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`banksync --version 31`})}),` 32`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-text",children:`@banksync/cli/0.1.0 darwin-arm64 33`})}),`
34`,n.jsx(e.p,{children:"Then see the full command tree and grouped help:"}),` 35`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`banksync --help 36`})}),` 37`,n.jsx(e.h2,{id:"keep-it-up-to-date",children:"Keep it up to date"}),` 38`,n.jsx(e.p,{children:"The CLI updates itself. Run:"}),` 39`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`banksync update 40`})}),` 41`,n.jsxs(e.p,{children:["It checks for a newer release, downloads the build for your platform, verifies its SHA-256 checksum, and replaces the binary in place. To see whether a newer version exists without installing it, use ",n.jsx(e.code,{children:"banksync update --check"}),"."]}),` 42`,n.jsx(e.p,{children:"Re-running the installer is equivalent and also works:"}),` 43`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`# macOS / Linux 44curl -fsSL https://banksync.io/install.sh | sh 45`})}),` 46`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-powershell",children:`# Windows 47irm https://banksync.io/install.ps1 | iex 48`})}),` 49`,n.jsxs(e.p,{children:["To check what you are running at any time, use ",n.jsx(e.code,{children:"banksync --version"}),"."]}),` 50`,n.jsx(e.h2,{id:"next-steps",children:"Next steps"}),` 51`,n.jsxs(e.ul,{children:[` 52`,n.jsxs(e.li,{children:[n.jsx(e.a,{href:"/docs/cli/cli-quickstart",children:"Quickstart"}),": log in and pull your first transactions in about a minute."]}),` 53`,n.jsxs(e.li,{children:[n.jsx(e.a,{href:"/docs/cli/cli-authentication",children:"Authentication"}),": API keys, profiles, and credential storage."]}),` 54`,n.jsxs(e.li,{children:[n.jsx(e.a,{href:"/docs/cli/for-agents",children:"For agents"}),": give an AI agent the CLI and an API key."]}),` 55`]})]})}function d(s={}){const{wrapper:e}=s.components||{};return e?n.jsx(e,{...s,children:n.jsx(c,{...s})}):c(s)}function t(s,e){throw new Error("Expected component `"+s+"` to be defined: you likely forgot to import, pass, or provide it.")}export{d as default};
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.