Ask HN: How do you effectively manage multiple developer environments?
As someone who works with a number of different clients at a time, I'm often trying to find a more efficient way to manage multiple developer environments which I can switch between easily.
Here's what I'm currently doing:
- Multiple browser profiles per project
- Bash script to run if it exists on directory change
- VS Code workspaces
- Various Alfred Workflows
Things I don't have answers for: - Running multiple applications on Mac (MS Teams doesn't allow more than one organisation to be signed in at once, so I have to use a tab in the browser)
- Easily switching between Desktop/Laptop environment
- Sharing multiple calendars so clients can easily book time
I'd love to hear all your suggestions or tricks that make you work more efficiently! I use docker to deal with different env, and I created several image, with convenient tools, commands, env-variables on it, so I can quickly start a new project. With vs code, there is a plugin called: remote explore, using this tool, you can easily work on different docker container. even remotely.
I am currently using docker + vscode devcontainers. I’ve ditched every other tool and keep my system clean.
I also wrote terminal util for saving/opening all tabs from safari to/from textfile. Good for context switches.
If I want to use global node program I run it in generic nodejs devcontainer…