Square Cloud CLI. This package provides a direct way to interact with the official Square Cloud API.
To install the CLI, just run the following command in your terminal:
macOS, Linux, and WSL:
curl -fsSL https://cli.squarecloud.app/install | bashWindows | need npm installed:
npm install -g @squarecloud/cliOr access the @squarecloud/cli npm page for more information.
List of all commands available in the CLI:
| Command | Description | 
|---|---|
| app | Perform actions with your applications | 
| apps | List all your Square Cloud applications | 
| commit | Commit your application to Square Cloud | 
| help | Get help about any command | 
| login | Log in to Square Cloud | 
| whoami | Print user information associated with the current Square Cloud Token | 
| zip | Zip the current folder | 
List of all commands available in the app command:
| Command | Description | 
|---|---|
| delete | Delete your application | 
| logs | See your application logs | 
| restart | Restart your application | 
| start | Start your application | 
| status | Show the status of your application | 
| stop | Stop your application | 
To update the CLI, just run the following command in your terminal:
macOS, Linux, and WSL:
curl -fsSL https://cli.squarecloud.app/install.sh | shWindows | need npm installed:
squarecloud update