# Installation

Caskada is currently available for both Python and TypeScript.

{% tabs %}
{% tab title="Python" %}
You can install the Python package using pip:

```bash
pip install caskada
```

{% endtab %}

{% tab title="TypeScript" %}
You can install the TypeScript package using pnpm (or npm/yarn):

```bash
pnpm add caskada
# or
npm install caskada
# or
yarn add caskada
```

{% endtab %}

{% tab title="JavaScript (Browser)" %}
You can import the JavaScript file directly in the browser using a `<script>` tag:

```html
<script type="module">
  import * as caskada from 'https://unpkg.com/caskada@latest/dist/caskada.js'

  new caskada.Node(...)
</script>
```

or

```html
<script type="module" src="https://unpkg.com/caskada@latest/dist/caskada.js"></script>
<script>
  new globalThis.caskada.Node(...)
</script>
```

{% endtab %}
{% endtabs %}

## Alternative: Copy the Source Code

Since Caskada is lightweight and dependency-free, you can also install it by simply copying the source code file directly into your project:

{% tabs %}
{% tab title="Python" %}
Copy [`python/caskada.py`](https://github.com/skadaai/caskada/blob/main/python/caskada.py)
{% endtab %}

{% tab title="TypeScript" %}
Copy [`typescript/caskada.ts`](https://github.com/skadaai/caskada/blob/main/typescript/caskada.ts)
{% endtab %}
{% endtabs %}

## Next Steps

Once you have Caskada installed, check out the [Getting Started](/flow/introduction/getting_started.md) guide to build your first flow, or explore the [Core Abstractions](/flow/core-abstraction/node.md) to understand the framework's fundamental concepts.


---

# 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://brainy.gitbook.io/flow/introduction/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.
