首页 公告 项目 RSS

⬇️⬇️⬇️ 欢迎关注我的 telegram 频道和 twitter ⬇️⬇️⬇️


联系方式: Twitter Github Email Telegram

Remote Development with Mutagen

July 31, 2025 本文有 200 个字 需要花费 1 分钟阅读

Introduction

I’ve had enough of how slow VSCode is, but other editors don’t offer good support for remote development either. Mutagen solves this problem. Compared to traditional SSHFS methods, Mutagen uses file synchronization technology to enable more efficient and low-latency local editing of remote code. It supports bidirectional sync and conflict resolution, making it ideal for development scenarios where you frequently modify files locally but rely on remote computing resources.

Using Mutagen

Install Mutagen

brew install mutagen-io/mutagen/mutagen

Create a Mutagen session

mutagen sync create --name=blog ~/mutagen/bboy.app [email protected]:/data/workdir/bboy.app

This command creates a sync session named blog, synchronizing the local directory ~/mutagen/bboy.app with the /data/workdir/bboy.app directory on the remote server [email protected]. During synchronization, Mutagen automatically detects file changes and transfers them efficiently, with no manual intervention required.

You can check the sync status with the following command:

mutagen sync list

To stop synchronization:

mutagen sync terminate blog

You can monitor sync progress and detailed logs in real time with:

mutagen sync monitor blog

After this, you can use other editors (such as Zed) to open the local directory ~/mutagen/bboy.app for development. Mutagen will automatically sync your local changes to the remote server.

Feel free to follow my blog at www.bboy.app

Have Fun