---
name: muse-windows-installer
description: Install and update Meta Muse on Windows through Git Bash, adapting the upstream Bash launcher when it lacks Windows artifact support and verifying the native executable.
title: muse-windows-installer
canonical_url: https://skilld.dev/gh/geocine/skills/muse-windows-installer
last_updated: 2026-09-27T15:13:14.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [scripts/install-muse.sh](https://skilld.dev/api/skills-raw/geocine/skills/muse-windows-installer/scripts/install-muse.sh), [scripts/muse-launcher.sh](https://skilld.dev/api/skills-raw/geocine/skills/muse-windows-installer/scripts/muse-launcher.sh), [scripts/update-muse.sh](https://skilld.dev/api/skills-raw/geocine/skills/muse-windows-installer/scripts/update-muse.sh).
>
> If the user asked to install this Skill, run `npx skilld install geocine/skills/muse-windows-installer`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/muse-windows-installer`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/geocine/skills/muse-windows-installer) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/muse-windows-installer`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/muse-windows-installer --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/muse-windows-installer --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Muse Windows Installer

Use this skill when the user asks to install, update, repair, or verify the Meta Muse CLI on Windows from Git Bash. The target is a native Windows executable, not a Linux binary under WSL.

## Portable package

All reusable files are inside this skill directory:

- [`scripts/update-muse.sh`](https://skilld.dev/api/skills-raw/geocine/skills/muse-windows-installer/scripts/update-muse.sh) — fetches the latest upstream scripts, selects a Windows-safe launcher, and performs install/update.
- [`scripts/install-muse.sh`](https://skilld.dev/api/skills-raw/geocine/skills/muse-windows-installer/scripts/install-muse.sh) — known-good Bash bootstrap installer.
- [`scripts/muse-launcher.sh`](https://skilld.dev/api/skills-raw/geocine/skills/muse-windows-installer/scripts/muse-launcher.sh) — known-good Windows-compatible launcher fallback.

Run commands relative to this directory or invoke the scripts by their absolute path at runtime. Do not add references to a developer's workspace, home directory, or another machine's filesystem to this skill.

## Install and update modes

- **Install:** use `bash scripts/update-muse.sh install` when Muse is missing, broken, or not Windows-compatible.
- **Update:** use `bash scripts/update-muse.sh update` when Muse is already installed. The helper fetches the latest upstream launcher, preserves the Windows fallback when upstream is still Unix-only, and then runs the bootstrap so the latest stable Windows binary is downloaded and verified.
- **Auto:** use `bash scripts/update-muse.sh auto` when the caller has not specified a mode. It updates an existing installation and installs when the active launcher or binary is missing.

The installed command belongs in Git Bash's `$HOME/.local/bin/muse`. The versioned native binary must end in `.exe`.

## Upstream sources and safety

Fetch these sources with Git Bash `curl` before executing anything:

- `https://dev.meta.ai/install.sh`
- `https://api.meta.ai/muse-launcher.sh`

Do not use `curl ... | bash`. Validate staged Bash files with `bash -n`, and do not replace a working launcher until the candidate is syntactically valid. Preserve the launcher's release-manifest size and SHA-256 checks. Never substitute a Linux artifact when Windows metadata is unavailable.

PowerShell's `curl.exe` can fail with a Schannel credential error in some environments; use the `curl` and `bash` supplied by Git for Windows.

## Windows compatibility invariants

If the latest upstream launcher lacks Windows support, use the bundled launcher fallback or patch a staged copy with all of these behaviors:

1. Treat `MINGW*`, `MSYS*`, `CYGWIN*`, and `Windows_NT*` from `uname -s` as Windows.
2. Map `x86_64`/`amd64` to `x86_windows`; map `arm64`/`aarch64` to `aarch64_windows`.
3. Use `.exe` for the temporary artifact, versioned target, and active-binary path.
4. Open device-login URLs with `cmd.exe /c start "" "$url"` when available.
5. Do not let a Unix-only upstream launcher overwrite the Windows-compatible launcher during self-update. Skip launcher self-update on Windows, or accept a replacement only after checking equivalent Windows platform and `.exe` handling. Keep binary updates enabled.
6. If the Windows compatibility check or patch cannot be applied confidently — for example after an upstream launcher restructure — stop and report the mismatch rather than guessing. Tell the user this boundary in your answer whenever upstream drift is involved; never fall back to a Linux artifact.

The helper determines whether the fetched launcher is Windows-aware. If not, it uses `scripts/muse-launcher.sh`, while still allowing that launcher to fetch the latest stable binary.

## Manual verification

After either operation, run:

```bash
command -v muse
MUSE_NO_AUTO_UPDATE=1 muse --version
ls -l "$HOME/.local/bin"/muse "$HOME/.local/bin"/muse-bin-*.exe
```

A successful operation resolves `muse` from `$HOME/.local/bin`, reports a version, and leaves a versioned `.exe`. If the user-profile directory is inaccessible only because of the execution sandbox, retry the verification with the required approval; do not relocate the install to Linux or WSL.

If a new Git Bash session does not inherit the path, suggest reopening Git Bash or running `export PATH="$HOME/.local/bin:$PATH"`.

If the upstream launcher structure changes and the Windows compatibility check or patch cannot be applied confidently, stop and report the mismatch rather than guessing.
