VifuHub CLI
The VifuHub CLI is the developer tool for local interactive experience and game projects. It connects a project to VifuHub managed publishing and playtesting.
Use it to set up projects, build static web output, deploy playable releases, publish, and understand deploy errors.
Install
curl -fsSL https://vifu.ai/cli | bash
vf --helpProject-local:
npm install --save-dev @vifu/vf
npx vf --helpCreate projects with the npm initializer:
npm create @vifu/vifu my-game -- --template vanilla --no-interactiveCreate an account at vifu.ai, then log in:
vf loginCommon Commands
| Command | Purpose |
|---|---|
vf login | Sign in for deploy and publish workflows. |
vf logout | Sign out for the current API environment. |
vf logout --all | Clear all cached VifuHub credentials. |
vf setup | Detect and configure the current game project. |
vf build | Build the project from the current directory. |
vf build ./game | Build another project directory. |
vf run | Serve or run a local game project. |
vf test | Run supported local game test workflows. |
vf deploy | Build, validate, upload, and create a playable URL. |
vf publish | Lower-level publish command for prepared builds and release workflows. |
Deploy
vf deployWhat happens:
- Run project setup when it is missing and the project can be detected.
- Validate the project setup.
- Build the project unless
--no-buildis passed. - Check the built game files.
- Upload only if validation passes and the artifact changed.
- Share a playable URL unless
--no-shareis passed.
Useful flags:
vf deploy --dry-run
vf deploy --yes
vf deploy --no-setup
vf deploy --no-build
vf deploy --no-share
vf deploy --name my-stable-game-nameManage Games
vf games list
vf games share <game-id>
vf games submit <game-id>
vf games delete <game-id>Management commands use the same VifuHub account as deploy.
Optional Diagnostics
vf manifest check
vf manifest explainYou usually do not need these before vf deploy; deploy checks the manifest for you. Use them only when you want a quick local diagnosis or CI check without building or uploading.
Bring A Browser Game To VifuHub
To bring an existing browser game to VifuHub:
- Run
vf setup. - Confirm the HTML entry, build command, and build output.
- Build to static browser files.
- Use VifuHub for the host capabilities your game needs.
- Run
vf deploy.
Read Deploy Policy before publishing games that import JavaScript from a CDN or call external AI APIs.
For coding-agent workflows, install the separate VifuHub CLI Skill.
