← Back to Code Folder Sync

Installation

Build and activate the same Code Folder Sync version on every peer and hub host.

Requirements

  • Linux x86-64 or macOS arm64
  • Node.js 22 or newer
  • Git
  • SSH key access when the hub is remote
  • Direct-child repositories with in-tree .git directories

No root access, account, signup, token, or browser callback is required.

Build and install

git clone https://github.com/MDerman/codefoldersync.git
cd codefoldersync
corepack pnpm install
pnpm check
pnpm build
node dist/product-cli.js install
~/.local/bin/codefoldersync --version

Install the same build on the hub machine before configuring an SSH hub. Versioned builds live under ~/.local/lib/codefoldersync/; activation changes atomically and never overwrites an existing version in place.

On this page