Self-Install auspex on Windows
Last updated: November 19, 2026
This guide is for individual engineers installing the Span agent (auspex) on their own Windows PC, without an MDM. It installs entirely in your user account — no administrator rights and no install script required.
If your company manages your PC with an MDM (Intune, Workspace ONE, Rippling, etc.), check with your IT team before you install. This guide is only for self-service / individual installs.
Before you start
Windows 10 (build 1809 or later) or Windows 11
git 2.45 or later, to capture code changes (check with
git --version)Your Span auth token (provided by your Span administrator)
NOTE: this needs to be the global org auth token, not a PAT (see how your admin gets the token)
Your work email
No administrator access is needed — everything installs under your user profile (%USERPROFILE%\.auspex). In fact the installer refuses to run elevated: a per-user install from an admin prompt would place files your own account can't manage.
Which build do I need — amd64 or arm64?
Almost certainly amd64. Every Intel and AMD PC uses it, which is the overwhelming majority of corporate fleets.
Pick arm64 only for a Windows on Arm device — in practice a Snapdragon-based Copilot+ PC (Surface Pro 11, Surface Laptop 7, Dell XPS 13 9345, Lenovo ThinkPad T14s Gen 6, and similar), or a Windows VM on an Apple Silicon Mac (Parallels, VMware Fusion, UTM).
If you're not sure, ask PowerShell:
$env:PROCESSOR_ARCHITECTURE
AMD64 → use the amd64 build. ARM64 → use the arm64 build.
Fleet admins: don't guess for the whole estate. Windows on Arm is still a small slice of most fleets, but it is not zero, and an amd64
.msiwill not install on an Arm device. See Checking architecture across a fleet for a query you can run from your MDM.
Step 1: Download the agent
Open PowerShell (the normal one — not "Run as administrator"). Pick any folder to work in — we'll call it <WORKDIR> (e.g. C:\auspex). This detects your PC's architecture and downloads the two matching executables:
cd <WORKDIR>
$Arch = if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64') { 'arm64' } else { 'amd64' }
Invoke-WebRequest -Uri "https://auspex.span.app/releases/latest/windows/$Arch/auspex.exe" -OutFile auspex.exe
Invoke-WebRequest -Uri "https://auspex.span.app/releases/latest/windows/$Arch/auspexw.exe" -OutFile auspexw.exe
Unblock-File auspex.exe, auspexw.exe
auspex.exeis the agent and theauspexcommand you run.auspexw.exeis the small program your coding tools run on every event. It opens no console window and, from v0.13.0, contains only the capture code, so each hook runs faster than it would withauspex.exe. Keep it in the same folder, named exactlyauspexw.exe:installpicks it up from beside the agent. Without it,installfails.
Unblock-File clears the "downloaded from the internet" mark so Windows doesn't block the executables.
Prefer to download them in your browser? Pick the pair for your PC (see Which build do I need above), save both in the same folder, then run Unblock-File on each. If your browser saved a file as auspexw (1).exe or similar, rename it to exactly auspexw.exe:
Intel/AMD — almost every PC (
$env:PROCESSOR_ARCHITECTUREisAMD64): auspex.exe (amd64) and auspexw.exe (amd64)Windows on Arm only (
$env:PROCESSOR_ARCHITECTUREisARM64): auspex.exe (arm64) and auspexw.exe (arm64)
Check both files before you install. In the same folder:
Get-ChildItem auspex.exe, auspexw.exe | ForEach-Object { "{0}: {1}" -f $_.Name, (Get-AuthenticodeSignature $_.FullName).Status }
.\auspex.exe version
You should see auspex.exe: Valid, auspexw.exe: Valid and a version number. If either file is missing, download it again; install fails without both. (Don't run auspexw.exe itself to check it: it has no console window, so PowerShell shows no output.)
⚠️ Use the
.exe, not the.msi. You may come acrossauspex_windows_amd64.msi/auspex_windows_arm64.msi— those are the MDM deployment packages and are not for self-install. Installing one puts your PC into managed mode, which expects a central MDM to provision it, and a self-install can't proceed. If you've already done this, see I installed the.msiby mistake below.
Step 2: Install
So your token never lands in your PowerShell history or a process's command line, read it in at a secure prompt — nothing is echoed as you paste — and let the installer read it from the environment. Replace <EMAIL> with your work email, and run in the same PowerShell window:
$sec = Read-Host -AsSecureString "Paste your Span token, then press Enter"
$env:AUSPEX_CLOUD_TOKEN = [System.Net.NetworkCredential]::new('', $sec).Password
.\auspex.exe install --service --email <EMAIL>
install reads the token from AUSPEX_CLOUD_TOKEN, writes it to a private identity file only you can read, and the daemon reads it from that file thereafter — not from your shell environment.
Other ways to supply the token.
From a file (e.g. exported by a secrets manager) — the secret stays off the command line:
.\auspex.exe install --service --token-file C:\path\span-token.txt --email <EMAIL>(auspex tolerates the UTF-16/BOM file PowerShell writes by default).Inline —
.\auspex.exe install --service --token <TOKEN> --email <EMAIL>also works, but is discouraged: the token is then visible in your shell history and to anything that can read a process's command line. auspex prefers--token-fileorAUSPEX_CLOUD_TOKENfor this reason.
What this does, all within your user account:
places the
auspexbinary, andauspexw.exebeside it, under%USERPROFILE%\.auspex\bin,wires the capture hooks into your AI coding tools (Claude Code, Cursor, Codex, GitHub Copilot, VS Code),
saves your token and work email to a private identity file only you can read,
registers a per-user logon task (
--service) so the daemon starts now and at every sign-in.
The daemon runs invisibly — you should not see a console window. If one appears and stays open, see Troubleshooting.
✅ Done when the installer prints auspex installed: with your binary path, a capture hooks: list with a ✓ beside each coding tool it found, identity: user tier provisioned, and finally status: capture live ✓.
Step 3: Verify
& "$env:USERPROFILE\.auspex\bin\auspex.exe" status
& "$env:USERPROFILE\.auspex\bin\auspex.exe" auth show
statusshould report the daemon running withinstall mode: user. It shows the agent's health, not how many events it has captured.auth showshould show your work email and a masked token.
Then use Claude Code or Cursor briefly and confirm your traces appear in the Span dashboard (ask your Span account team to enable the feature for your org if you don't see anything yet).
auspexis not on your PATH after a self-install. A per-user install deliberately does not add it, because adding to PATH is a machine-wide change. Use the full path as above, or add%USERPROFILE%\.auspex\binto your own user PATH under Settings → System → About → Advanced system settings → Environment Variables. Or run this once, then open a new PowerShell window:[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ";$env:USERPROFILE\.auspex\bin", 'User')
Using Codex? Codex runs a new hook only after you trust it: open Codex, run
/hooks, and trust auspex's hooks (the installer reminds you). Upgrades that add or change hooks need the same step; hooks you already trusted, and that didn't change, stay trusted. The upgrade that moves the hooks toauspexw.exechanges every Codex hook, so trust them again once after it (before it, no Codex hook could run on Windows anyway). Managed installs skip this.
(Optional) Choose which coding tools to capture
auspex captures every coding tool it supports. To capture only some, add --tools to the install command in Step 2, such as --tools claude-code,cursor. Later, add or remove one tool with auspex hooks install --tool <tool> or auspex hooks uninstall --tool <tool>. For the tool names and what default means, see auspex settings (auspex v0.14.0 and later).
Step 4: Clean up (optional)
Once the health check passes, the downloaded executables are no longer needed — the installer placed its own copies under %USERPROFILE%\.auspex\bin:
Remove-Item "<WORKDIR>\auspex.exe", "<WORKDIR>\auspexw.exe"
(Optional) Pin and verify an exact build
The download in Step 1 uses the version-less latest alias — the simplest path. If you'd like a reproducible, tamper-evident install, you can pin an exact release and verify its bytes before installing.
Each release publishes a cosign-signed manifest.json binding the version to the exact SHA-256 of every artifact, and every artifact is also stored at a content-addressed path (https://auspex.span.app/blobs/sha256/<digest>) — so a digest is a version-free pin that always resolves to the same bytes. This needs cosign on your PATH.
cd <WORKDIR>
$V = 'v0.10.0' # the exact release you want (ask your admin or see the changelog)
$Arch = if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64') { 'arm64' } else { 'amd64' }
# 1. Fetch the signed version→digest manifest and verify it came from auspex's release pipeline:
Invoke-WebRequest "https://auspex.span.app/releases/$V/manifest.json" -OutFile manifest.json
Invoke-WebRequest "https://auspex.span.app/releases/$V/manifest.json.cosign.bundle" -OutFile manifest.json.cosign.bundle
cosign verify-blob --bundle manifest.json.cosign.bundle `
--certificate-identity-regexp '^https://github\.com/(?i:attuned-corp)/auspex/\.github/workflows/release\.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' `
--certificate-oidc-issuer https://token.actions.githubusercontent.com `
manifest.json
# 2. Confirm the manifest is for the version you asked for, then read the signed digests of the two Windows
# executables (auspex.exe is application/octet-stream, auspexw.exe application/vnd.microsoft.portable-executable):
$m = Get-Content manifest.json | ConvertFrom-Json
if ($m.annotations.'org.opencontainers.image.version' -ne $V) { throw "manifest is not $V" }
$want = @{ 'auspex.exe' = 'application/octet-stream'; 'auspexw.exe' = 'application/vnd.microsoft.portable-executable' }
# 3. Fetch each BY DIGEST (version-free) and confirm its bytes match:
foreach ($f in $want.Keys) {
$d = ($m.manifests | Where-Object { $_.platform.os -eq 'windows' -and $_.platform.architecture -eq $Arch -and $_.mediaType -eq $want[$f] }).digest -replace '^sha256:',''
Invoke-WebRequest "https://auspex.span.app/blobs/sha256/$d" -OutFile $f
if ((Get-FileHash $f -Algorithm SHA256).Hash.ToLower() -ne $d) { throw "DIGEST MISMATCH for $f - do not install" }
}
Unblock-File auspex.exe, auspexw.exe
'verified'
If it prints verified, continue from Step 2 (run the files you just downloaded). A failed cosign verify-blob or a digest mismatch means do not install — contact the Span team.
The
.msiused for managed installs carries its own.sha256sidecar beside it on the download host.
Each
sha256:<digest>you verified once is a durable pin:https://auspex.span.app/blobs/sha256/<digest>returns those exact bytes regardless of version, so you can record it in a setup script or lockfile.
The manifest you verified is stored by digest too.
(Get-FileHash manifest.json -Algorithm SHA256).Hash.ToLower()gives its digest, andhttps://auspex.span.app/blobs/sha256/<that digest>returns that manifest, which lists every artifact's digest, so you can record one digest for the whole release instead of one per file (auspex v0.13.0 and later). The Windows installer takes it as-ManifestDigestand installsauspex.exeandauspexw.exefrom it.
Verify anytime
& "$env:USERPROFILE\.auspex\bin\auspex.exe" status
Upgrade
⚠️ Alpha.
auspex upgradeis an alpha release. It works end-to-end, but it is new and less tested than a fresh install. If an upgrade fails, reinstall as in Steps 1 and 2, and please report what happened to the Span team.
& "$env:USERPROFILE\.auspex\bin\auspex.exe" upgrade --check
& "$env:USERPROFILE\.auspex\bin\auspex.exe" upgrade
upgrade --check shows your version, the stable release and whether an upgrade is available, and changes nothing. upgrade moves you to stable, or to one release with --version vX.Y.Z. auspex never upgrades on its own.
Before it changes anything, auspex checks the new release's signature against the release signer built into your current version. Then it switches auspex.exe and auspexw.exe, re-wires your hooks and restarts the agent. If the new version doesn't come up healthy, auspex restores your previous version and tells you what failed.
It won't move to an older release. To go back, see Uninstall.
auspex says the release was signed by keys this build doesn't trust, or your version has no
upgradecommand: download the new release and install it as in Steps 1 and 2.Using Codex? An upgrade that changes hooks needs them trusted again, as in Step 3.
upgrade works on an agent installed with install --service, as in Step 2. On a managed install it tells you to upgrade through your MDM.
Uninstall
Run uninstall from a temporary copy of the agent. Windows won't let a running program delete its own file, so running the installed copy leaves auspex.exe behind:
$tmp = Join-Path $env:TEMP 'auspex-uninstall.exe'
Copy-Item "$env:USERPROFILE\.auspex\bin\auspex.exe" $tmp
& $tmp uninstall
Remove-Item $tmp
This removes the agent, its logon task, and the hooks auspex wrote. Your own custom hooks in Cursor and Claude Code are preserved, and your captured data and config under %USERPROFILE%\.auspex are kept. To remove those too:
Remove-Item -Recurse -Force "$env:USERPROFILE\.auspex"
Replacing the legacy coding-hooks agent
If this PC still has Span's earlier coding-hooks agent, remove it once auspex is healthy — running both captures every event twice. See Retiring coding-hooks, which includes a check-then-uninstall script you can run yourself or push from your MDM.
I installed the .msi by mistake
The .msi is the MDM deployment package. Installing it by hand puts the PC in managed mode, and a self-install is refused. Don't try to remove it yourself. Contact your IT team, and once they've removed it, start again from Step 1 with the .exe.
Troubleshooting
auspex : The term ... is not recognized— you're typing a bareauspex, which a self-install doesn't put on your PATH. Use the full path:& "$env:USERPROFILE\.auspex\bin\auspex.exe" status.refusing to run elevated— you opened PowerShell as administrator. Close it and use a normal PowerShell window; auspex installs per-user by design. auspex checks this before anything else, so it can hide a second problem: check thatauspexw.exeis in the same folder too (Step 1) before you retry.this device is centrally managed— stop here and contact your IT team.A console window stays open — the daemon should run invisibly. If a window titled with the auspex path persists, re-run
install --serviceto re-register the logon task with the current launcher.Windows SmartScreen warns about the download —
auspex.exeandauspexw.exeare code-signed, like the.msi, but SmartScreen can still show "Windows protected your PC" for a release it hasn't seen widely yet. Check the publisher under the file's Properties → Digital Signatures (or verify the download with the pin-and-verify steps above), then choose More info → Run anyway.install binary: atomicfile: open ...\auspexw.exe: ... The system cannot find the file specified—auspexw.exeisn't in the folder you install from, under exactly that name. It wasn't downloaded, the browser saved it asauspexw (1).exe, or security software quarantined it. Check your antivirus quarantine, downloadauspexw.exeagain into the same folder asauspex.exe(Step 1), and re-runinstall. The failed attempt leaves a partial%USERPROFILE%\.auspex\bin, which the re-run replaces. If your company's security software blocks it, ask IT to allow bothauspex.exeandauspexw.exe.provisioning was requested but no token was supplied/ auth errors —AUSPEX_CLOUD_TOKENwasn't set in the PowerShell window that raninstall(a new window doesn't inherit it). Re-run theRead-Host/$env:lines andinstallin the same window, or pass--token-file <path>(auspex tolerates the UTF-16/BOM file PowerShell writes). Confirm withauth show.uninstallfails withremove binary: ... auspex.exe: Access is denied— you ran uninstall from the installed copy, which Windows won't let delete itself. The hooks and logon task are already gone. Run uninstall again from a temporary copy (see Uninstall), or delete%USERPROFILE%\.auspex\binby hand.No traces in the dashboard — expected on a fresh install until you've used a coding tool and your org has the feature enabled. Use Claude Code or Cursor briefly, then check the dashboard again.
statusshows whether the agent is healthy, not how many events it has sent.
If you are stuck on an issue not listed here, please share the full PowerShell output (and the output of auspex status) with the Span team.