Skip to content
Get Started for Free

Installation

The easiest way to get started with LocalStack for Snowflake is by using the LocalStack CLI. It automatically pulls the correct Docker image, manages the container, and supports additional features like image updates and debugging.

The LocalStack CLI can be installed using Python, Brew (macOS), or Windows executables.

If you prefer to install LocalStack via Python (recommended for most Snowflake users), follow the steps below.

Please ensure the following are installed:

Then install the LocalStack CLI:

Terminal window
python3 -m pip install --upgrade localstack

Need more options? See our alternative installation instructions.

Once the CLI is installed and your auth token is set, start the Snowflake Emulator with:

Terminal window
localstack start --stack snowflake

This will pull the LocalStack for Snowfalke image and run the Docker image automatically.

Run the following command:

Terminal window
curl -d '{}' snowflake.localhost.localstack.cloud:4566/session

Expected response:

{"success": true}

To keep both the CLI and emulator images up to date, run:

Terminal window
localstack update all

If you only want to update the Snowflake image manually (e.g. to pick up a recent fix), you can run:

Terminal window
docker pull localstack/snowflake:latest

If you prefer Docker Compose, you can start the emulator using the configuration below:

version: "3.8"
services:
localstack:
container_name: "localstack-snowflake"
image: localstack/snowflake
ports:
- "127.0.0.1:4566:4566"
- "127.0.0.1:4510-4559:4510-4559"
- "127.0.0.1:443:443"
environment:
- LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?}
volumes:
- "./volume:/var/lib/localstack"

Start the container with:

Terminal window
docker-compose up

Now that the Snowflake emulator is installed, you can use it for developing and testing your Snowflake data pipelines. Refer to our Quickstart guide to get started.