# Installing the Extension

{% hint style="info" %}
If you're already familiar with VS Code and VS Code extensions, you can just install the extension `secretlab.yarn-spinner` and you'll be ready to go.
{% endhint %}

Once you've got Visual Studio Code (often abbreviated to "VS Code", or "Code") installed on your system, you'll want to install the Yarn Spinner extension. To install the Yarn Spinner Extension:

1. **Launch** **Visual Studio Code.**
2. **Open the Extensions view.** To do this, select the blocks symbol from the left-hand sidebar, or press *Command+Shift+K* on macOS, or *Control+Shift+X* on Windows or Linux.
3. **Search for the Yarn Spinner Extension.** With the Extensions view open, type "Yarn Spinner" into the search field.
4. **Install the Extension.** Once the results have loaded, click "Install" next to the Secret Lab-provided Yarn Spinner Extension.

That's all you need to do to install the extension! You're ready to write and edit Yarn scripts with Visual Studio Code.

![The Yarn Spinner Extension](/files/2K776hCyP0CdyvCK9xAb)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yarnspinner.dev/2.3/getting-started/editing-with-vs-code/installing-the-extension.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
