Repository navigation
Setting up your game
- New Experimental
xbox store-listing getreads a game's Store listing text in Partner Center in one language: its product name, description, and product features. Text that isn't set is named on stderr, so an incomplete listing stands out. See Store listing. xbox sandbox getandxbox sandbox createaccept a sandbox number, such as2, in place of a full sandbox ID, andxbox pc sandbox setdoes too. See Sandbox.xbox sandbox list --ownedleaves out global sandboxes such asRETAIL, and--type sharedor--type isolatedlists only that kind.
Testing your game
xbox audience updateshows the rename and the members it adds and removes before it asks to update.--dry-runwrites those changes as JSON and sends nothing.xbox audience get --members-onlywrites only the members, one per line, in the formataudience update --members-filereads, so you can save, edit, and send back the list.audience get --output tableshows the members.- Before an audience write, a members file's lines that need fixing are named.
xbox test-account getfinds an account by its email or its XUID, and its table output shows the XUID.xbox test-account batch list --expiredhonors--limit, shows its progress, and works with--include-sandboxes.xbox package list --output tableshows each package's validation errors.
Configuring and publishing XBOX services
- New
xbox xbl config historylists a sandbox's saves, publishes, and copies, newest first, with who made each and what it changed in each feature. - New
xbox xbl config diffcompares configuration versions, the draft, and your local files, document by document, such as what publishing would change, or how your edited files differ from the draft. xbox xbl config statusshows each document's draft and published state by feature, with what each save changed and who saved it.config listshows which configuration sets have changes that aren't published.xbl configcommands take--scope sandbox,--scope title, or--scope accountto choose a sandbox's, the title-wide, or the seller account's configuration.xbox xbl config publish --scope accountpublishes the seller account's configuration, such as its relying parties and business partners.- New
xbox xbl bindingcommands get, create, and delete the binding that makes a game use another game's XBOX services configuration. See Binding. - New
xbox xbl global-storagecommands get usage, and list, download, upload, and delete the global title storage files every player of a game reads in a sandbox. See Global storage. - New
xbox xbl web-servicecommands list, get, create, update, and delete the web services your own services use to call XBOX services, andweb-service certificate createcreates their certificates, keeping the private key on your computer. See Web service. - New
xbox xbl relying-partyandxbox xbl business-partnercommands list, get, create, and save a seller account's relying parties and business partners. See Relying party and Business partner. - XBOX services settings is a new page that says which configuration document holds each title setting, access policy, privilege, and single sign-on endpoint, and how each goes live.
Scripting and automation
- New
xbox completionprints a script that completes commands, options, and values when you press Tab in bash, zsh, fish, or PowerShell. See Completion. - Every command's Help has at least one example.
- Doc examples work as written in PowerShell and in POSIX shells such as bash and zsh.
Errors and safety
- A network failure says why it failed, such as the connection closing, instead of only that it failed. When a Partner Center or XBOX services request times out or loses its connection, the error includes the request's correlation ID, for support.
--password-file -and--security-answer-file -refuse to read a secret typed at the terminal, where it would show on screen. Pipe the secret in, pass a file, or leave out the option to be asked for it.- On Linux,
xbox auth logoutalso empties the token cache file the CLI uses when no keyring is available, and makes it readable only by you. --sandbox-idand--seller-idrefuse control characters.playfab economy inventorycommands andplayfab group application acceptrequire--entity-idand--entity-type, and fail before sending a request without them. Without them, the service always refused the request.
Installing and updating
- On Windows, the WinGet package is
XBOX.cli: install withwinget install XBOX.cli, and update withwinget upgrade XBOX.cli. WinGet might get a release a few hours after GitHub. See Installation.
Breaking changes
- A usage error, such as an unknown option or a missing value, writes the error to stderr only, and nothing to stdout. Before, stdout also got the command's Help.
xbox xbl config publishwaits for the publish to finish, and shows its progress on stderr. Pass--no-waitto return once the publish is accepted.xbl configcommands take--scope accountin place of--type account.xbox playfab api-policy getandsetno longer accept--policy-name. PlayFab has only one API policy, which they already used.- The
PlayFab:RequestHeaderssetting is removed.
Fixed
- Commands for XBOX services configuration, test accounts, packages, playtests, and audiences work when you sign in with a personal Microsoft account.
- Leaving out an option's value, or giving an option two values, is reported as a usage error, instead of crashing.
xbox test-account batch geton a deleted batch says the batch wasn't found, instead of suggesting test accounts are unavailable.
See Known issues for the problems this release still has.