From 91770e106836183171f3474beaa7ba9670aa0a89 Mon Sep 17 00:00:00 2001 From: Emily Morgan Date: Mon, 29 Jul 2024 15:01:41 +0200 Subject: [PATCH] basic docs for cli binaries (#371) Co-authored-by: Alexis Rico --- 020-Connect/015-CLI/010-cli.mdx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/020-Connect/015-CLI/010-cli.mdx b/020-Connect/015-CLI/010-cli.mdx index b11e8609..98e33b76 100644 --- a/020-Connect/015-CLI/010-cli.mdx +++ b/020-Connect/015-CLI/010-cli.mdx @@ -11,6 +11,29 @@ Xata provides a CLI (command line interface) through an **[NPM package](https:// ## Installation +### macOS (Homebrew) + +If you use Homebrew to install packages, run: + +```bash +brew tap xataio/brew && brew install xata +``` + +### Windows (Installers) + +- [64-bit installer](https://xata-cli-assets.s3.us-east-1.amazonaws.com/channels/stable/xata-x64.exe) +- [32-bit installer](https://xata-cli-assets.s3.us-east-1.amazonaws.com/channels/stable/xata-x86.exe) + +### Linux and macOS (Install script) + +- We provide a setup script for Linux users who do not wish to extract the tarball themselves: + +```bash +curl xata.io/install.sh | sh +``` + +### Install with npm + To facilitate work across multiple projects and reduce the number of parameters required for executing commands, we advise installing the CLI globally. ```bash