# Create environment to development plugins for grafana

**URL:** <https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560>\
**Category:** Grafana\
**Tags:** plugins\
**Created:** [April 4, 2024, 6:55am UTC](https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560 "2024-04-04T06:55:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maiducphuc2001](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/maiducphuc2001/32/43890_2.png) [@maiducphuc2001](https://community.grafana.com/u/maiducphuc2001)\
**Post date:** [April 4, 2024, 6:55am UTC](https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560/1 "2024-04-04T06:55:13Z")

</div>

Hello guys, please help me: How to create environment to development plugins for grafana. Im using Window, but even when I install WSL I still can’t run the command: npx @grafana/create-plugin@latest

---

<div class="post-metadata">

**Author:** ![codi639](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@codi639](https://community.grafana.com/u/codi639)\
**Post date:** [April 4, 2024, 7:05am UTC](https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560/2 "2024-04-04T07:05:42Z")

</div>

Hey @maiducphuc2001

I would say, create an Unix VM?  
Unless you really want to stay on Windows, that would be the easiest way to solve your problem for me…

* * *

Did you try:

```cmd
npx.cmd @grafana/create-plugin@latest

```

Regards

---

<div class="post-metadata">

**Author:** ![maiducphuc2001](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/maiducphuc2001/32/43890_2.png) [@maiducphuc2001](https://community.grafana.com/u/maiducphuc2001)\
**Post date:** [April 4, 2024, 7:15am UTC](https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560/3 "2024-04-04T07:15:05Z")

</div>

Thanks for reply me, but i did try your way but: Unsupported operating system ‘Windows’ detected. Please use WSL with create-plugin. For more info visit: [Troubleshooting | Grafana Plugin Tools](https://grafana.com/developers/plugin-tools/troubleshooting#i-am-getting-unsupported-operating-system-windows-detected-please-use-wsl-with-create-plugin)

---

<div class="post-metadata">

**Author:** ![codi639](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@codi639](https://community.grafana.com/u/codi639)\
**Post date:** [April 4, 2024, 7:30am UTC](https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560/4 "2024-04-04T07:30:17Z")

</div>

The purpose of using WSL is to force Windows to “think” that unix command are okay with it (explained in a **very** simple way).

I know that the npx command is natively okay with Windows, please assure your npm package is up to date.

* * *

Can you show how did you configure your WSL environment and how you use it?

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [April 4, 2024, 12:26pm UTC](https://community.grafana.com/t/create-environment-to-development-plugins-for-grafana/118560/5 "2024-04-04T12:26:17Z")

</div>

Developing in windows is hard but doable

> **[How to set up a Grafana development environment on a Windows PC using WSL |...](https://grafana.com/blog/2021/03/03/how-to-set-up-a-grafana-development-environment-on-a-windows-pc-using-wsl/)**
>
> A step-by-step guide to running Grafana on a Windows PC using the Linux runtime environment.
