CLI
Learn how to use the Squadbase CLI.
Squadbase CLI
The Squadbase CLI is a tool that makes it easy to create and initialize projects.
This guide covers installation and explains each command in detail.
For source code and release notes, see the
GitHub repository.
Installation
macOS / Linux — Homebrew
brew tap squadbase/homebrew-squadbase
brew install squadWindows — Scoop
scoop bucket add squad https://github.com/squadbase/scoop-bucket.git
scoop install squadcURL script
curl -fsSL https://raw.githubusercontent.com/squadbase/squadbase/main/scripts/install.sh | shGo install
go install github.com/squadbase/squadbase@latestCommands
squad create [PROJECT_NAME]
Create a new project from a template.
PROJECT_NAME is optional.
$ squad create my-awesome-projectsquad init [DIRECTORY]
Initialize an existing directory with a squadbase.yml configuration.
$ squad initOr specify a directory:
$ squad init /path/to/projectsquad help [COMMAND]
Display help for the CLI or for a specific command.
$ squad help
$ squad help createsquad --version
Show the current CLI version.
$ squad --version