Download via curl
For Linux/OS X run the following commands in your terminal and you are ready to go:
curl -L https://files.sloppy.io/sloppy-`uname -s`-`uname -m` > /tmp/sloppy
sudo cp /tmp/sloppy /usr/local/bin/sloppy
sudo chmod +x /usr/local/bin/sloppy
Download manually
Alternatively download the client for your operating system, copy the binary named sloppy to your favourite PATH
(e.g. /usr/local/bin
) and make it executable (not needed for Windows) with:
chmod +x /usr/local/bin/sloppy
Testing
To make sure, the CLI tool is set up correctly, you should see the following output when entering the command sloppy
in your terminal.
sloppy
usage: sloppy [--version] <command> [<args>] [--help]
Available commands are:
change Change the configuration of an application on the fly
delete Delete a project, a service or an application
logs Fetch the logs of a project, service or app
restart Restart an app
rollback Rollback an application
scale Scale the number of instances in an application
show Show settings of a project, a service or an application
start Start a new project on the sloppy service
stats Display metrics of a running app
version Prints the sloppy version
You will find the documentation about our sloppy.io CLI here.