# Run lintrunner locally on Windows machine

**URL:** https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000
**Category:** Uncategorized
**Created:** [May 14, 2025, 6:56pm UTC](https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000 "2025-05-14T18:56:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![narekmalk](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/narekmalk/32/2731_2.png) [@narekmalk](https://dev-discuss.pytorch.org/u/narekmalk)
#### Post date: [May 14, 2025, 6:56pm UTC](https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000/1 "2025-05-14T18:56:02Z")

</div>

When running `lintrunner init`, I am getting this error:  
`ERROR: Unsupported platform: Windows/Windows-Intel64`

---

<div class="post-metadata">

### Author: ![malfet](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/malfet/32/129_2.png) [@malfet](https://dev-discuss.pytorch.org/u/malfet)
#### Post date: [May 15, 2025, 2:24pm UTC](https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000/2 "2025-05-15T14:24:25Z")

</div>

Do you mind creating an issue? Or even better propose a patch, that might be warn/skip linters that rely on prebuilt binaries on the platform? Or extend the scripts that produce binaries to the platform

---

<div class="post-metadata">

### Author: ![narekmalk](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/narekmalk/32/2731_2.png) [@narekmalk](https://dev-discuss.pytorch.org/u/narekmalk)
#### Post date: [May 15, 2025, 6:18pm UTC](https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000/3 "2025-05-15T18:18:55Z")

</div>

@malfet, created issue: [Can't run lintrunner locally on Windows machine · Issue #153638 · pytorch/pytorch · GitHub](https://github.com/pytorch/pytorch/issues/153638)

---

<div class="post-metadata">

### Author: ![GoshKolotyan](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/goshkolotyan/32/2543_2.png) [@GoshKolotyan](https://dev-discuss.pytorch.org/u/GoshKolotyan)
#### Post date: [May 17, 2025, 8:15pm UTC](https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000/4 "2025-05-17T20:15:22Z")

</div>

Have you tried to downgrade the version of `lintrunner`?

---

<div class="post-metadata">

### Author: ![narekmalk](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/narekmalk/32/2731_2.png) [@narekmalk](https://dev-discuss.pytorch.org/u/narekmalk)
#### Post date: [May 18, 2025, 4:19pm UTC](https://dev-discuss.pytorch.org/t/run-lintrunner-locally-on-windows-machine/3000/5 "2025-05-18T16:19:06Z")

</div>

@GoshKolotyan, downgraded `lintrunner` to `0.11.1`, then to `0.10.1`, in both cases getting the same error
