[docs] Add concise maui CLI command reference#34217
Merged
Conversation
Redth
reviewed
Feb 24, 2026
Redth
reviewed
Feb 24, 2026
Redth
reviewed
Feb 24, 2026
Redth
reviewed
Feb 24, 2026
Redth
reviewed
Feb 24, 2026
rolfbjarne
requested changes
Feb 25, 2026
Member
jonathanpeppers
left a comment
There was a problem hiding this comment.
Should this PR delete this file, or merge the two files into one?
rolfbjarne
reviewed
Feb 25, 2026
04329cc to
1a61bc0
Compare
bb3d909 to
d55f544
Compare
rolfbjarne
previously approved these changes
Feb 26, 2026
9f47f1a to
ee85f1d
Compare
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 34217Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 34217" |
ee85f1d to
afdc946
Compare
This was referenced Feb 26, 2026
Extends docs/design/cli.md with environment setup commands for Android (SDK/JDK/emulator) and Apple (Xcode/simulator/runtime), global options (--json, --interactive, --dry-run), platform filter values, and implementation references to dotnet/android-tools. Full specification: PR #33865 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
afdc946 to
00577ad
Compare
jonathanpeppers
approved these changes
Feb 26, 2026
rmarinho
added a commit
that referenced
this pull request
Feb 26, 2026
- Move device list, screenshot, logs to vNext - Update IDE integration: VS consumes android-tools NuGet directly - Remove runtime list --available (can't enumerate downloadable runtimes) - Replace maui doctor --json IDE reference with specific check commands Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Feb 28, 2026
Tamilarasan-Paranthaman
pushed a commit
that referenced
this pull request
Mar 2, 2026
> [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ## Summary Adds a concise command reference for the `maui` CLI — focused on **Android**, **Apple/iOS**, and `--version`. This is a quick-review companion to the full specification in [PR #33865](#33865). ### What this covers - `maui --version` - All `maui android` subcommands (install, jdk, sdk, emulator) - All `maui apple` subcommands (install, check, xcode, simulator, runtime) - Global options (`--json`, `--verbose`, `--interactive`, `--dry-run`) ### Key design points - **Delegate to native toolchains** — wraps `sdkmanager`, `adb`, `xcrun simctl`, etc. - **Reuse shared libraries** — leverages [`dotnet/android-tools`](https://github.com/dotnet/android-tools) for SDK/JDK discovery and installation - **Machine-first output** — every command supports `--json` - **Interactive detection** — follows `dotnet` CLI pattern (auto-detects CI via env vars, checks `Console.IsOutputRedirected`) ### What this intentionally omits - Device listing (covered by `dotnet run --list-devices`) - Install path defaults (handled by `dotnet/android-tools`) - Windows commands (see full spec) - Architecture, error contracts, JSON schemas, IDE integration, elevation model All omitted details are in the [full specification (PR #33865)](#33865). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
davidortinau
added a commit
to dotnet/docs-maui
that referenced
this pull request
Mar 10, 2026
New reference article for the maui CLI tool introduced in .NET 11: - maui doctor: environment health checks and auto-fix - maui android install: JDK, SDK, and emulator setup - maui apple install: Xcode, licenses, and iOS runtime management - Structured --json output for CI/CD and AI agent integration Upstream: dotnet/maui#34217, spec PR dotnet/maui#33865 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
davidortinau
added a commit
to dotnet/docs-maui
that referenced
this pull request
Mar 10, 2026
…l options - JDK default: 21 (not 17) per merged spec in dotnet/maui#34217 - Apple uses --accept-license (singular), not --accept-licenses - Global option is --interactive, not --ci - JSON example JDK version updated to 21.0.4 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Summary
Adds a concise command reference for the
mauiCLI — focused on Android, Apple/iOS, and--version. This is a quick-review companion to the full specification in PR #33865.What this covers
maui --versionmaui androidsubcommands (install, jdk, sdk, emulator)maui applesubcommands (install, check, xcode, simulator, runtime)--json,--verbose,--interactive,--dry-run)Key design points
sdkmanager,adb,xcrun simctl, etc.dotnet/android-toolsfor SDK/JDK discovery and installation--jsondotnetCLI pattern (auto-detects CI via env vars, checksConsole.IsOutputRedirected)What this intentionally omits
dotnet run --list-devices)dotnet/android-tools)All omitted details are in the full specification (PR #33865).