Quick Start
Setup
hypkg is designed to be run with npx inside a Hyperfy repository:
# Navigate to your Hyperfy repositorycd path/to/your/hyperfy/repository
# Run interactive installation of modsnpx hypkg applyBasic Usage
Managing Mods
# List installed modsnpx hypkg list
# Search available modsnpx hypkg search
# Install specific modsnpx hypkg apply repository/mod-name
# Remove installed modsnpx hypkg remove repository/mod-name
# Reset to base state (remove all mods)npx hypkg resetSyncing Mods
npx hypkg syncThis will:
- Check for updates to all installed mods
- Ensure all mods are compatible with the current Hyperfy version
- Re-apply mods in the correct order
- Handle any conflicts between mods
Run this command periodically to ensure your mods stay up-to-date.
Repository Management
# List available mod repositoriesnpx hypkg repo list
# Add a new mod repositorynpx hypkg repo add name url
# Remove a mod repositorynpx hypkg repo remove nameFor Developers
Important: When developing mods, your branch should have the latest commit of the Hyperfy canonical branch as a base. When updating your development branch, always use:
git rebase dev
# Release a new version of your modnpx hypkg releaseDo NOT use git merge dev as this will not work correctly with the mod system.
Troubleshooting
If you encounter issues:
- Make sure you’re running the command in a valid Hyperfy repository
- Try resetting your mod state:
npx hypkg reset - Check for updates:
npx hypkg sync - Reach out on the
hypkgchannel on Hyperfy discord server