Install the Scale CLI
The Scale CLI is the primary tool for interacting with Scale Functions and the Scale Registry. It can be easily installed using the following command:The CLI attempts to install itself to
/usr/local/bin
by default, but you can also specify a different directory by setting the INSTALL
environment variable like so:Building from Source
To build the CLI from source, you will need to have Go installed. Then, you can clone the source code:The minimum supported version of Go for building the Scale CLI is 1.20.
scale
in the cmd
directory. You can then move this binary to a directory in your
PATH
to use it.