r/devtools • • Oct 24 '26

dwork: switch projects with one command—containers, terminals, and browser pages

Post image

Switching projects can mean resuming containers, waiting for the database, opening terminals, and remembering which commands to run. I built dwork to keep those steps together.

It runs on Linux, macOS, and WSL2. A workspace can define existing Docker Compose services, terminal commands, health checks, and browser URLs to open when ready.

Here’s the 42-second demo.

The basic workflow is:

cd ~/projects
dwork scan
dwork list
dwork switch my-app

Existing Compose projects work without a separate configuration file. Add a dwork.yml when you want terminal commands, health checks, and browser pages to be part of the workspace.

Switching shows a plan and asks for confirmation. It can stop other registered workspaces; locked workspaces and unregistered projects stay running. It resumes existing containers, so initial setup, builds, and migrations remain part of your normal project workflow.

Source, installation instructions, and examples

What do you still handle manually when switching between local development projects?

2 Upvotes

0 comments sorted by