diff --git a/content/cli/index.mdx b/content/cli/index.mdx index 54d93a7..eec06e3 100644 --- a/content/cli/index.mdx +++ b/content/cli/index.mdx @@ -13,9 +13,17 @@ sidebar: npm install -g spacefast ``` -The package is `spacefast` and it installs two binaries, `spacefast` and `sf`. Homebrew (`brew install spacefast`) and standalone binaries for macOS (arm64, x64), Linux (arm64, x64), and Windows (x64) are also available. +The package is `spacefast` and it installs two binaries, `spacefast` and `sf`. Standalone binaries for macOS (arm64, x64), Linux (arm64, x64), and Windows (x64) are also available. -The CLI needs Node.js 20.3 or newer. Check the install: +On macOS or Linux, Homebrew installs the same two binaries: + +```bash +brew install spacefast/tap/spacefast +``` + +Upgrade with `brew upgrade spacefast`. + +The npm package needs Node.js 20.3 or newer. Homebrew and the standalone binaries bundle their own runtime. Check the install: ```bash sf --version diff --git a/content/quickstart.mdx b/content/quickstart.mdx index b026871..643f672 100644 --- a/content/quickstart.mdx +++ b/content/quickstart.mdx @@ -9,7 +9,7 @@ By the end of this page you have a site live on a `space.fast` hostname, a secon ## Before you start -You need Node.js 20.3 or newer and a folder of built static files. Any framework's output directory works (`dist`, `out`, `build`, `public`). If you only have source, `sf publish` can build it for you, see [Frameworks and builds](/frameworks). +You need a folder of built static files. Any framework's output directory works (`dist`, `out`, `build`, `public`). If you only have source, `sf publish` can build it for you, see [Frameworks and builds](/frameworks). @@ -18,7 +18,7 @@ You need Node.js 20.3 or newer and a folder of built static files. Any framework npm install -g spacefast ``` - Homebrew (`brew install spacefast`) and standalone binaries are also available. Check the install: + The npm package needs Node.js 20.3 or newer. On macOS or Linux you can use Homebrew instead (`brew install spacefast/tap/spacefast`). Standalone binaries are also available. Check the install: ```bash sf --version