vrcli
A command-line interface for the VRChat API that lets you manage friends, users, worlds, and authentication directly from your terminal.
Installation
First, install Rust (https://www.rust-lang.org/tools/install), then:
cargo install vrcli
Usage
Set up authentication:
vrcli auth login
vrcli auth status
General syntax:
vrcli <resource> <action> [options]
Commands(Simplified)
Authentication
auth login- Set authentication credentialsauth logout- Logout and remove stored credentialsauth status- Show current authentication status
Users
users search <query>- Search users by display nameusers get <identifier>- Get user information by ID or display name
Friends
friends list- List all friends with various filtering and sorting optionsfriends get <identifier>- Get friend details by usernamefriends add <identifier>- Send a friend request to a userfriends remove <identifier>- Remove a friend or cancel outgoing friend requestfriends status <identifier>- Check friend status with a user
Invites
invite send <user> <instance_id>- Send an invite to a friendinvite request <user>- Request an invite from a friend
Worlds
worlds search <query>- Search worldsworlds get <world_id>- Get world information by ID
Common Options
Most commands support:
--id- Use direct user ID instead of resolving display name--json- Output in JSON format--long/-l- Show detailed information
Development
Clone the repo and install dependencies:
git clone https://github.com/VRCli/vrcli
cd vrcli
cargo install cargo-husky
Standard workflow:
# Build and test
cargo build
cargo test
# Format and lint
cargo fmt --all
cargo clippy --all-targets -- -D warnings
Pre-commit hooks run automatically via cargo-husky.
Contributing
Contributions are welcome! Please fork the repo, create a branch, and submit a pull request.
License
MIT