The LocalStack CLI aims to simplify starting and managing LocalStack. It provides convenience features to start LocalStack on your local machine, as a Docker container on your machine, or even on a remote Docker host. In addition you can easily check the status or open a shell in your LocalStack instance if you want to take a deep-dive.
Please make sure to install the following tools on your machine before moving on:
The easiest way to install the LocalStack CLI is via pip:
python3 -m pip install localstack
Note: Please do not use sudo or the root user - LocalStack should be installed and started entirely under a local non-root user. If you have problems with permissions in MacOS X Sierra, install with python3 -m pip install --user localstack.
The LocalStack CLI also allows you to easily update the different components of LocalStack. You can decide to update the CLI itself, the LocalStack Docker images, or all at once:
localstack update
localstack update all
localstack update docker-images
localstack update localstack-cli