www: point CLI surfaces at cli-preview-0.10.0 release#778
Conversation
The old service-based CLI (winget Microsoft.FoundryLocal, brew microsoft/foundrylocal) is no longer the current entry point. A new SDK-based CLI is available as a preview at the GitHub release cli-preview-0.10.0. - Download dropdown: replace winget/brew copy-to-clipboard rows with anchor links (Windows / macOS / Linux) pointing to releases/tag/cli-preview-0.10.0. Adds Linux row + inline Tux SVG icon. - /models page CLI panel: same swap. Three platform anchors + Run command (now 'foundry run <alias>' to match the new CLI's command shape). - ModelCard.svelte / ModelDetailsModal.svelte: 'foundry model run' -> 'foundry run' (3 sites). Out of scope (intentionally): README.md install commands, SDK install rows, /docs content.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the website’s CLI-related UI/documentation to reflect the new SDK-based foundry CLI preview release (cli-preview-0.10.0) as the active entry point, and updates the documented run verb from foundry model run to foundry run.
Changes:
- Replaces package-manager install copy actions with platform “Download on GitHub” links pointing to the
cli-preview-0.10.0release (adds Linux where applicable). - Updates all visible model run command strings from
foundry model run <alias>tofoundry run <alias>. - Tweaks dropdown labeling to indicate the CLI tools are a preview.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| www/src/lib/components/download-dropdown.svelte | Updates dropdown CLI section to link to the preview release (adds Linux icon/row) and renames the section label. |
| www/src/routes/models/+page.svelte | Updates the models page CLI panel to link to the preview release and switches the run command to foundry run. |
| www/src/routes/models/components/ModelCard.svelte | Updates the generated run command string to foundry run. |
| www/src/routes/models/components/ModelDetailsModal.svelte | Updates displayed and generated run command strings to foundry run. |
|
@Wayne-Ch Great first pass.
- I see that the following was written as out of scope, but if we're swapping to the new CLI, we might as well do this across the whole PR:
|
- download-dropdown: use bits-ui child snippet so the anchor IS the DropdownMenu.Item, removing nested interactive elements + double padding (Copilot review comment). - /models CLI panel: drop truncate/min-w-0 chain that was hiding platform names behind ellipses; use minmax(6rem,auto) so 'Windows / macOS / Linux' fit (MaanavD review screenshot). - README.md CLI section: swap dead winget/brew install lines for a link to releases/tag/cli-preview-0.10.0; 'foundry model run' -> 'foundry run' and 'foundry model ls' -> 'foundry model list' to match the new CLI.
|
Thanks @MaanavD! Pushed
A couple of quick questions on the other two before I touch them:
Vercel preview should refresh on the new commit shortly. |
|
Hey @Wayne-Ch leave SDKS as is in the dropdown |

The previously-shipped service-based CLI (
winget install Microsoft.FoundryLocal,brew install microsoft/foundrylocal/foundrylocal) is no longer the active entry point. A new SDK-basedfoundryCLI is available as a preview at the GitHub Release cli-preview-0.10.0.This updates the website CLI surfaces to point users at that release, and renames the documented model-run command to match the new CLI's verb (
foundry run <alias>, nomodelsubcommand).Changes
www/src/lib/components/download-dropdown.svelte): replace the two winget/brew copy-to-clipboard rows with three platform anchor links (Windows / macOS / Linux), each opening thecli-preview-0.10.0GitHub release in a new tab. Added a Linux row with an inline Tux SVG icon (no Lucidelinuxicon available). Section label is now "Optional CLI tools (preview)"./modelspage CLI panel (www/src/routes/models/+page.svelte): same swap — Windows / macOS / Linux anchors to the release page, instead of copying dead install commands. Run command now readsfoundry run qwen2.5-0.5b.www/src/routes/models/components/ModelCard.svelte,ModelDetailsModal.svelte):foundry model run <alias>→foundry run <alias>(3 sites total).Out of scope (intentional)
README.mdinstall commands — separate doc surface; happy to follow up./docscontent.Note on packaging
The new CLI is a different MSIX identity than the old one (
Microsoft.FoundryLocalCLIvsMicrosoft.FoundryLocal) — they cannot upgrade-replace. The winget and homebrew manifests are not updated yet, which is why these surfaces now point at the GitHub release rather than at package-manager install commands.