How to Sync Dotfiles and Configs Across Your Devices in 2026

To sync dotfiles and config files across a desktop and laptop, install the Nutstore desktop client on each machine and enable sync for the folders that already hold your configs — no designated sync-folder layout and no command-line links required. Nutstore ships desktop clients for Windows, macOS, and Linux and preserves conflict copies instead of overwriting them, so an edit on one computer will not silently wipe out a working configuration on another.

Git remains the right tool for versioning source code; this approach simply keeps selected configs available across your devices. Only files that finish syncing appear on your other devices, sync does not merge edits, and sync does not replace Git or an independent backup.

This guide walks you through syncing dotfiles and configs across devices in nine short steps. Each step is self-contained, so you can read one section in isolation and still act on it. The Nutstore setup steps carry the full detail; the Git and cloud-drive alternatives stay deliberately brief.

What You’ll Need

Before you start, confirm you have everything on this list. If a prerequisite is missing, the later steps will not work as described.

  • Two or more computers you can install software on — a desktop plus a laptop, in any mix of Windows, macOS, and Linux.
  • A Nutstore account and the desktop client installed on each machine. Nutstore ships desktop clients for Windows, macOS, and Linux, which matters if your machines do not all run the same operating system.
  • A short list of the specific configs you want available everywhere, and the folder or folders that hold them. Sync works at the folder level, so you need to know which folder contains your portable configs before setup, not during. Typical candidates include .zshrc, .gitconfig, and your editor’s settings folder.
  • Awareness that some values are machine-specific — absolute paths, hostnames, and hardware-dependent settings will need per-machine overrides (covered in Step 7).

Set your expectations now: this workflow keeps selected configs available across devices. It does not merge edits, does not replace Git for code, and does not replace an independent backup.

Ready to begin? Go to the Nutstore website, create an account, and download the client for your platform.

Step-by-Step Guide to Sync Dotfiles and Configs

The steps below are ordered so each one is readable on its own. Steps 3 through 6 are the Nutstore core and get the most detail.

Step 1: Audit Which Configs Belong in Sync — and Which Folder Holds Them

The goal here is to separate three groups: portable configs, secret configs, and machine-specific configs.

Config type Examples In sync?
Portable Shell aliases, editor keybindings, formatter settings Yes
Secret Tokens, API keys, credentials, private keys No — keep out
Machine-specific Absolute paths, hostnames, hardware settings Flag for override (Step 7)

A synced folder is not a secrets manager. Keep anything containing tokens, API keys, credentials, or private keys out of it.

One more thing to settle in this step: Nutstore syncs folders, not a hand-picked list of files in place. The real unit of sync is a folder, so you need to identify the specific folder or folders that hold your portable configs and whose full contents you are willing to sync. Many dotfiles already sit together in a folder such as ~/.config, which can be synced in place.

Do not enable sync for your entire home directory just to capture a few scattered dotfiles. Syncing the whole home directory would also upload unrelated files — including the secrets you are deliberately excluding. Any config that sits loose at the top of your home directory and cannot be grouped into a folder you are willing to sync needs another arrangement (see Step 9) or should be left out.

Step 2: Decide Between Git and a File-Sync Service

This is the decision that answers “should I sync config files without Git, or use Git instead?” The short version:

  • Use Git when you want history, diffs, branching, and review for source code and code-adjacent files. That is what Git is built for, and code belongs there.
  • Use a file-sync service when your only goal is “the current version of this small config is present on my other machine” — without initializing a repo, committing, and pulling.
Requirement Git File-sync service (e.g., Nutstore)
Version history and diffs Yes — core strength Plan-dependent version history; not a diff engine
Branching and code review Yes No
Keeps configs in their existing folder Requires a repo layout or symlinks Yes — arbitrary folder sync, no mklink needed
Cross-platform desktop clients Yes (via CLI) Windows, macOS, Linux
Can merge changes Yes, when you run a merge; conflicts may require manual resolution No — preserves conflict copies for manual review
Best fit Source code Selected non-code configs

This is not either/or. Many developers keep code in Git and keep selected non-code configs in a sync service. To be clear: Nutstore is not a version control tool and is not recommended for syncing code repositories.

Step 3: Install the Nutstore Desktop Client on Each Computer

Install on the desktop first, then the laptop. Confirm the build matches the operating system — Windows, macOS, or Linux. Then sign in with the same account on every machine; the same account is what makes the folders converge.

The client handles multi-device access to the same synced content, and files that finish syncing are also reachable from another supported device or from the web.

Step 4: Turn On Sync for the Folder That Holds Your Configs

This is the core step. Nutstore supports arbitrary folder sync — you right-click the folder on your computer and enable sync for it. Because sync works at the folder level, you enable sync for a folder, not for individual files. If your portable configs already live together in a folder such as ~/.config, sync that folder in place.

Two things make this workable for dotfiles:

  1. There is no requirement to relocate configs into a designated sync folder. A folder can be synced in place, wherever it already lives.
  2. There is no mklink or symlink command line needed.

A caution that follows from Step 1: do not enable sync for your entire home directory just to catch scattered dotfiles. Syncing the whole home directory would also upload unrelated files — and could sweep in the secrets you deliberately excluded. Sync only the specific folder or folders whose full contents you are comfortable having on every device. Configs that live outside those folders need another arrangement (Step 9) or should be left out.

This matters because dotfiles usually live in home-directory locations that other tools expect to find. Being able to sync a folder in place is what makes the workflow viable. Some cloud drives require a designated sync folder or symlink workarounds instead, and syncing in place avoids that step entirely.

One reminder applies here: sync applies to files that finish uploading. Unsaved or not-yet-uploaded edits are not available on the other machine.

Step 5: Confirm the Configs Actually Arrived on the Second Device

Verify from the second computer’s client. As a cross-check, open the web interface and confirm the same files appear there.

If a file is missing, it usually comes down to one of four things: the upload has not finished, sync is paused or the client is not running, the edit was never saved, or the containing folder is not the one you enabled for sync in Step 4. Work through the Troubleshooting checklist below, which covers each of these.

Optional note: on PC clients, Delta Sync can speed up repeated uploads of the same large file when its conditions are met — the original file is over 64 KB, the changed portion is under 70% of the original file, and the changed portion is under 10 MB. Delta Sync is PC-client-only and does not apply to compressed files, images, or videos. Treat it as a convenience, not a guarantee.

Step 6: Adopt an Edit-and-Verify Habit to Avoid Conflicts

The rule: avoid editing the same config on two machines at the same time. Pick one “authoring” machine per file whenever you can.

What Nutstore does: conflict copies are preserved rather than one version silently overwriting the other, so a bad edit will not quietly wipe a working configuration. Nutstore also provides built-in scan and batch-processing tools for reviewing conflicts.

What it does not do: preserving a conflict copy is not the same as merging content, and it is not a guarantee of zero data loss. You still review and reconcile the copies yourself.

A lightweight habit helps: make the edit, let sync finish, then open the file on the second machine before you rely on it.

Step 7: Handle Machine-Specific Values with Local Overrides

Keep shared, portable settings in the synced file. Keep machine-specific values in a small, unsynced local file that the shared config includes or sources.

This is the answer to “my laptop path isn’t my desktop path.” It also prevents a synced config from breaking one of your machines.

Step 8: Add Version History and an Independent Backup as a Safety Net

Version history retention depends on your plan — check what your plan provides.

State it plainly: cloud sync is not a backup. Keep an independent backup of critical configs.

Optional ecosystem note: Nutstore’s WebDAV endpoint (dav.jianguoyun.com/dav/) integrates with third-party apps such as KeePass and Joplin, which some developers use for password stores and notes. Paid WebDAV request limits apply (1,500 requests per 30 minutes). Treat this as an ecosystem note, not a config-sync mechanism.

Optional space-saving note: on supported desktop platforms, Cloud Bridge Mode keeps local placeholder files at roughly 4 KB while the actual file resides in the cloud, downloading on demand when you double-click. Cache space can be capped and auto-cleaned. Availability can differ by platform, so verify it on your own setup.

Step 9: Use Git or Another Cloud Drive if You Prefer

If you would rather use Git, a bare repo or a dotfiles repo works when you want history and are comfortable with commits and pulls. A mainstream cloud drive can also carry config files, but some services may require a fixed sync-folder layout or symlink workarounds.

This is also where scattered configs that cannot be grouped into a folder you are willing to sync belong: keep them in a dotfiles repo, or leave them out of cloud sync entirely.

For readers who want the folder left where it is and cross-platform desktop clients, the Nutstore path in Steps 3–6 is the shorter setup.

Troubleshooting: Common Problems When You Sync Dotfiles

Quick Answer: If a config is missing on your other computer, check three things first — that the file was actually saved, that the client on the source machine is running and actively syncing, and that the folder containing the file is the one you enabled for sync in Step 4. These three checks resolve most “missing config” cases before you look at anything else.

The three issues below cover the rest. Each has a likely cause and a fix.

Issue 1: The config isn’t showing up on my other computer
– Likely causes: the upload has not finished; sync is paused or the client is not running; the file was saved to a folder that is not enabled for sync; the edit was never saved; the config sits loose in the home directory rather than in a folder you enabled for sync.
– Fix: confirm the file shows as synced in the client on the source machine, check the web interface, and confirm the containing folder is the one you enabled in Step 4. If the config is not inside a folder you are willing to sync, move it into one you are, or handle it through another arrangement (Step 9).

Issue 2: I’m seeing conflict copies after editing on two machines
– Cause: the same file was changed on two devices before sync completed.
– Fix: this is expected behavior — conflict copies are preserved rather than overwritten. Compare the copies, keep the correct version, delete the redundant one, then adopt the one-authoring-machine habit from Step 6.

Issue 3: The config works on one machine but breaks on the other
– Cause: absolute paths, hostnames, or hardware-specific values baked into a shared config.
– Fix: move those values into an unsynced local override file (Step 7).
– Optional note: if large files seem to re-upload in full each time, check whether Delta Sync’s conditions apply. Delta Sync works on PC clients when the original file is over 64 KB, the changed portion is under 70% of the original file, and the changed portion is under 10 MB. It is PC-client-only and does not cover compressed files, images, or videos.

Frequently Asked Questions

Can I use a cloud drive like Dropbox to sync dotfiles?
Yes — config files can live in a cloud drive. The practical constraints are whether the service lets you sync a folder in place rather than a fixed sync folder, and whether it runs on all your operating systems. Nutstore supports Windows, macOS, and Linux desktop clients and allows arbitrary-folder sync, so a folder of configs can stay where it already is.

Can I sync just a few individual dotfiles, or do I have to sync a whole folder?
Sync works at the folder level. Nutstore syncs folders, not a hand-picked list of files, so you enable sync for the folder that contains your configs. Do not sync your entire home directory just to catch a few scattered dotfiles — that would also upload unrelated files and could include secrets. Group related configs into a folder such as ~/.config where possible, and handle loose configs through another arrangement or leave them out.

Should I sync dotfiles with Git or with a sync service?
Git is the right tool when you want history, diffs, and review — that is what it is built for, and code belongs there. A sync service is the lighter option when you only need the current version of a small non-code config on your other machine. Nutstore is not a version control tool and is not recommended for syncing code.

Does cloud sync overwrite my file if I edit it on two devices?
With Nutstore, conflict copies are preserved instead of overwriting, so a working configuration is not silently replaced. It does not merge the two edits — you review the copies and reconcile them.

Does sync merge my changes automatically?
No. Sync moves files between devices; it does not merge content. Avoid simultaneous edits to the same file and treat conflict copies as something to resolve manually.

Are my configs available on the other machine as soon as I save them?
No — only files that finish syncing appear on another supported device or the web. Unsaved or not-yet-uploaded edits are not available through cloud sync.

Can I put files containing API keys or passwords in a synced config folder?
It is better not to. Keep secrets out of synced configs; a synced folder is not a secrets manager.

Summary and Next Steps

Here is the workflow in one line: audit configs and their folders → decide Git vs sync → install the client on each machine → enable sync for the folder in place → verify on the second device → adopt one-authoring-machine habits → keep secrets and machine-specific values out → keep a real backup.

Three boundaries are worth repeating. Only files that finish syncing are available elsewhere; sync does not merge edits; and sync does not replace Git for code or an independent backup.

Try Nutstore Today

For developers and small teams who want this across a whole team rather than one person’s two machines, Nutstore’s Team plan comes with a 20-day free trial — start your team trial here. For individual setup, the desktop client download page is the starting point.

Related Posts

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

Back To Top