# Getting Python on your computer

## Check if you already have it

Open the Terminal or git-bash and run

```
python --version
```

If it outputs `Python 3.x.y` where x and y are some integers - you are good to go. If there is an error or the version starts with `2` - install miniconda using the instructions below.

## Install as part of miniconda

{% hint style="info" %}
If you are used to getting Python on your computer in a different way then go for it - you don't have to install miniconda.
{% endhint %}

1. Follow [instructions to install miniconda](https://docs.anaconda.com/free/miniconda/miniconda-install/). When/if asked whether to install for all users or for the current user only - choose the latter.
2. In the Anaconda Prompt, run `conda init bash zsh`.
3. Open the Terminal on macOS or git-bash on Windows and check that you have conda by runing `conda --version`. If it outputs `conda x.y.z` where x, y, z are integer numbers - you are all set.


---

# 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://gitbook.bergelsonlab.com/programming-info/quick-programming-computing-how-tos/getting-python-on-your-computer.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.
