How to Sync Dev Dotfiles & Configs on Windows, Mac & Linux

The practical way to sync dev dotfiles and configs across Windows, Mac, and Linux is to split the job by file type: keep source code and its version history in Git, and use cloud sync for the non-code configuration files that do not belong in a repository. Nutstore provides desktop clients for Windows, macOS, and Linux, and its Arbitrary Folder Sync feature lets you right-click a folder to sync it — no command-line mklink workaround required. Two boundaries matter before you begin: Nutstore is not built for code sync and does not replace Git or an independent backup, and only files that successfully upload become available on your other supported devices.

This guide walks through the full workflow, step by step, for developers, consultants, and technical specialists who move between machines and want their shell configs, editor settings, terminal themes, and app preferences to stay consistent.


What You’ll Need Before You Start

Dotfiles and configs are the non-code layer of a development setup. They include shell configuration, editor settings, terminal themes, and application preferences. Code belongs in Git. This guide covers the config files that do not.

Prerequisites checklist

Requirement Why you need it
Two or more devices running Windows, macOS, and/or Linux Cross-platform sync needs at least two endpoints to verify
A Nutstore account with the desktop client Nutstore offers desktop clients for Windows, macOS, and Linux, plus mobile apps (iOS, Android) and a browser-based web app
Optional: a Git remote Recommended for any files that are genuinely code or need commit history
Awareness of platform differences Individual feature availability may differ by platform

Before you start — pick the right tool

  • Use Git for: source code, anything needing commit history, branching, or code review.
  • Use cloud sync for: non-code configs, notes, templates, docs, and other work materials you want on every device.
  • Do not use Nutstore for: code sync, Git repositories, or files being edited concurrently across devices. Nutstore is not a code version-control tool and does not replace Git or an independent backup.

For teams evaluating the cross-platform workflow, Nutstore’s main product page is a reasonable starting point: Explore Nutstore.


Step-by-Step Guide: How to Sync Dotfiles Across Windows, Mac, and Linux

Each step below is self-contained. You can follow them in order or jump straight to the step that matches your current problem.

Step 1 — Decide Which Files Belong in Git and Which Belong in Cloud Sync

Before configuring anything, sort your files. This single decision prevents most cross-platform sync problems later.

File type Recommended tool Reason
Source code, scripts under version control Git Commit history, branching, code review
Shell/editor/app config, notes, templates, docs Cloud sync Cross-platform availability across Windows, Mac, and Linux
Secrets, API keys, credentials Neither, without an added secrets-management approach Never sync plaintext credentials through a general file sync tool

The boundary is simple: cloud sync for dotfiles and configs works well for non-code files. Nutstore is not recommended for code sync and does not replace Git.

Step 2 — Organize Your Dotfiles and Configs into a Sync-Friendly Folder Structure

Create a dedicated parent folder — for example, dev-configs/ — and use subfolders per operating system or per app so platform-specific variants stay separate.

dev-configs/
├── windows/
│   └── terminal-settings.json
├── macos/
│   └── shell-config.zsh
└── linux/
    └── editor-settings.json

Why this matters: configs that hardcode OS-specific paths should not overwrite each other. Keeping variants apart reduces conflicts and makes developer config sync cross-platform far more predictable. This is organization guidance only — it does not enable any automatic conditional-sync behavior.

Step 3 — Install the Nutstore Desktop Client on Windows, macOS, and Linux

Go to the Nutstore website, create an account, and download the client for your platform. Install the desktop client on each device and sign in with the same account on every machine.

Nutstore supports Windows, macOS, and Linux desktop clients — Linux desktop support is rare among Chinese cloud storage providers, many of which do not offer it. Nutstore also offers mobile apps for iOS and Android and a browser-based web app, which serve as access surfaces in later steps.

One caveat to set expectations honestly: some features may not be identical across all platforms, so verify what is available in your platform’s client.

This is where Nutstore removes a common friction point in syncing dotfiles across Windows, Mac, and Linux.

  1. Locate your dev-configs/ folder in the file manager.
  2. Right-click the folder and choose the Nutstore sync option.
  3. Confirm the folder is added for sync. No command-line mklink junction or symlink setup is required.

Why this can be simpler: Arbitrary Folder Sync breaks the traditional “designated sync folder” limitation. You can sync a folder wherever it already lives, instead of moving files into a special directory or creating OS-level links.

Some users of designated-folder sync tools choose to create a mklink junction or symlink as a workaround so that a folder living elsewhere appears to be inside the designated sync folder. This adds a command-line setup step and an extra layer to maintain. With Arbitrary Folder Sync, a right-click workflow avoids that workaround, which can make a cross-platform dotfile setup easier to maintain when you add a new machine or rebuild a laptop.

Remember the sync boundary: files become available elsewhere only after they are successfully uploaded.

Want to try this on a team? The Nutstore Team plan includes a 20-day free trial.

Step 5 — Verify the Upload Before Switching Devices

Before you move to your next machine, confirm the sync status in the client. Most desktop clients distinguish between files that have been uploaded and files still pending, and expose this through a sync-status indicator or a transfer/task view. Look for that indicator and check whether each item shows as completed or still in progress; the exact label and location vary by client version and platform, so treat the indicator itself as the source of truth rather than expecting a fixed menu path.

This matters because unsaved or unuploaded edits are not available through cloud sync. If a file never finished uploading, it will not appear on your other supported devices.

Practical habit: make your edits, let the sync complete, then switch machines. This three-beat rhythm avoids the most common “my config is missing” frustration.

Step 6 — Handle Conflicts with Smart Conflict Resolution

If the same file changes on two devices, Nutstore’s Smart Conflict Resolution preserves conflict copies without overwriting the original, rather than silently clobbering a file. It also includes the member nickname in shared folders for traceability, and it offers built-in scan and batch-process features.

Be clear about the limit: preserving conflict copies does not mean automatic content merging or guaranteed zero data loss. You resolve the conflict copy yourself.

The practical rule: avoid editing the same config concurrently on two devices. If you do, expect a conflict copy and reconcile it manually.

By contrast, Git handles concurrent change tracking through commits and merges for code. Cloud sync handles files, and its conflict behavior works across file types. Neither is a substitute for the other.

Step 7 — Keep Platform-Specific Variants Separate

Structure your Windows, macOS, and Linux variants so each device picks up the right version. The dev-configs/windows/, dev-configs/macos/, and dev-configs/linux/ layout from Step 2 is the simplest convention that works.

Set expectations honestly: this is a folder-organization convention, not an automatic conditional-sync feature. You decide which file to copy into the right location on each machine.

On delta sync: it is PC-client only and applies to qualifying files — original file larger than 64 KB, delta under 70% of the original, and delta under 10 MB. Compressed files (zip, rar), images (jpg, png), and videos do not support delta sync. Since typical text-based configs are usually small, do not expect delta sync to apply to most dotfiles.

Step 8 — Access Configs from Another Device or the Web

Once uploaded, suitable configs can be opened from your other supported devices or the browser-based web app — no manual copying required.

If some of your configs live inside third-party apps, WebDAV can help. Nutstore’s WebDAV server address is dav.jianguoyun.com/dav/, and it integrates with apps such as WPS, Zotero, PDF Expert, Notability, Joplin, and KeePass. Two limits to know: paid users get a maximum of 1,500 requests per 30 minutes, and third-party app autosave and recovery behavior depends on the app, version, device, and settings.

Step 9 — (Optional) Keep Code in Git Alongside Your Synced Configs

For actual source code, use Git: initialize a repository, commit your changes, and push to your remote. That step is for code and history only.

Nutstore and Git coexist rather than compete. Use each for what it does well — Git for code and version tracking, cloud sync for suitable non-code configs.


Troubleshooting Common Cross-Platform Sync Issues

Quick Answer: If a config isn’t appearing on another device, first check that the file was saved and successfully uploaded in the client, then check your other supported device or the browser-based web app. Sync only makes successfully uploaded files available elsewhere.

My config file isn’t showing up on my other device

Most likely cause: the file never finished uploading. Fix: check sync status in the client, wait for the upload to complete, then re-check the second device or the browser-based web app.

A conflict copy appeared after editing on two machines

Cause: the same file was changed on two devices. Fix: open the preserved conflict copy, compare the two versions, and merge manually. Smart Conflict Resolution preserves copies rather than auto-merging them.

A feature I expected isn’t available on my platform

Cause: feature availability can vary by platform. Fix: confirm the feature in your platform’s client and treat availability as platform-specific rather than universal. Do not assume that a feature listed for the product as a whole is present on every operating system.


FAQ: Dotfiles, Configs, and Cross-Platform Sync

1. Can Nutstore sync my code or replace Git?
No. Nutstore is not recommended for code sync and does not replace Git or an independent backup. Use Git for source code and its history, and cloud sync for suitable non-code configs.

2. What’s the difference between Git and cloud sync for dotfiles?
Git tracks code and its history through commits and merges. Cloud sync for dotfiles and configs makes suitable non-code files available across devices. Use both — for different file types.

3. Does Nutstore work on Linux?
Yes. Nutstore provides a Linux desktop client alongside Windows and macOS, plus mobile apps (iOS, Android) and a browser-based web app — though individual feature availability can vary by platform.

4. How does Nutstore handle conflicting edits to the same config?
Smart Conflict Resolution preserves conflict copies instead of overwriting them, but it does not automatically merge content or guarantee zero data loss. You reconcile the conflict copy manually.

5. Do I still need a backup if I sync my configs?
Yes. Sync does not replace an independent backup. Keep a separate backup of your dev-configs/ folder.

6. Why do I need the mklink workaround less with Nutstore?
Arbitrary Folder Sync lets you right-click a folder to sync it, so you do not need a command-line mklink junction or symlink workaround — a lower-maintenance path for cross-platform dotfile organization.


Summary: Split the Job, Then Sync Confidently

The reliable model for developer config sync cross-platform is to split the job. Use Git for source code and version history, and use cloud sync for the suitable non-code configs, notes, and templates you want on every machine. Nutstore’s desktop clients cover Windows, macOS, and Linux, and Arbitrary Folder Sync removes the mklink friction that some designated-folder sync tools require.

Keep the boundaries in view: Nutstore is not for code sync, it does not replace Git or an independent backup, only successfully uploaded files appear on your other devices, and feature availability can vary by platform.

Try the Nutstore Team plan with a 20-day free trial, or explore Nutstore to get started on your own devices.

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top