← Back to install methods
Install with npm
For Node.js developers
Install command
$ npm install -g codrsyncWhat it does
- 1Downloads the codrsync npm wrapper package
- 2The postinstall script installs the Python package via pipx or pip
- 3Makes the codrsync command available globally
Prerequisites
Node.js 18 or newer required
Verify installation
$ codrsync --versionYou should see the version number if the installation was successful.
Troubleshooting
Problem: EACCES permission error
Solution: Use: npm install -g codrsync --unsafe-perm or fix npm permissions
Problem: Python not found during postinstall
Solution: Install Python 3.10+ first, then retry: npm install -g codrsync