# Installation and Setup

## Installation

Installing pyDraw via the command-line is as simple as one command:

```
pip install pydraw
```

It is also possible to use pydraw by placing the library file in the same directory as your project:

{% embed url="<https://github.com/pydraw/pydraw/releases/1.4.1>" %}

{% hint style="info" %}
&#x20;Using the library file for pyDraw will work normally for most of the time, but you may have to install [Tkinter](https://tkdocs.com/tutorial/install.html) and/or [Pillow](https://pillow.readthedocs.io/en/stable/installation.html) if they are not installed!
{% endhint %}

Once you've got pyDraw installed, you're all set. You can test your installation like so:

```python
from pydraw import *

screen = Screen(800, 600)

print('Hello, pyDraw!')
screen.stop()
```

Then run your file with Python, and you're all set:

```bash
python main.py
```


---

# 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.pydraw.graphics/guides/installation.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.
