Skip to content

Quickstart

Workstate helps you capture and restore your development environment. This guide covers the essential workflow: Setup, Initialize, Verify, and Save.

Before anything else, you need to tell Workstate where to store your snapshots:

Terminal window
workstate configure

You will be prompted for your AWS Access Key, Secret Key, Region, and S3 Bucket name.

Go to your project’s root directory and initialize it:

Terminal window
workstate init

This creates a .workstateinclude file with minimalist defaults. Unlike a blacklist, only files listed here will be captured.

Since we use a whitelist approach, it’s a good idea to check what Workstate “sees”:

Terminal window
workstate status

This command lists all files that will be included in the next snapshot.

Capture your current environment and upload it to S3:

Terminal window
workstate save "my-feature-setup"

To see your stored states and bring one back:

Terminal window
workstate list
workstate download