From cced175ccfd0afae26fad39dda45d1a75620c5ad Mon Sep 17 00:00:00 2001 From: Esteban Beltran Date: Wed, 9 Nov 2022 08:15:23 -0600 Subject: [PATCH] Docs: Replace toolkit command to scaffold plugins with create-plugin (#58462) * Replace command to scaffold plugin with create-plugin * Change link text --- docs/sources/developers/plugins/_index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sources/developers/plugins/_index.md b/docs/sources/developers/plugins/_index.md index 73133d7f11f..8f1a99cf09c 100644 --- a/docs/sources/developers/plugins/_index.md +++ b/docs/sources/developers/plugins/_index.md @@ -13,15 +13,15 @@ For more information on the types of plugins you can build, refer to the [Plugin ## Get started -The easiest way to start developing Grafana plugins is to use the [Grafana Toolkit](https://www.npmjs.com/package/@grafana/toolkit). +The easiest way to start developing Grafana plugins is to use the Grafana [create-plugin tool](https://www.npmjs.com/package/@grafana/create-plugin). Open the terminal, and run the following command in your [plugin directory]({{< relref "../../setup-grafana/configure-grafana/#plugins" >}}): ```bash -npx @grafana/toolkit plugin:create my-grafana-plugin +npx @grafana/create-plugin ``` -> **Note:** If running NPM 7+ the `npx` commands mentioned in this article may hang. The workaround is to use `npx --legacy-peer-deps `. +Follow the questions and you will have a starter plugin ready to develop. If you want a more guided introduction to plugin development, check out our tutorials: