# Installing Varbase

If you already have a local or hosted environment available for your use that meets [Drupal system requirements](https://www.drupal.org/requirements) and/or [Varbase's system requirements](/10.1.x/developers/installing-varbase/requirements.md) including working versions of Apache, MySQL, and PHP, you’re ready to install Varbase.

## Installing Varbase locally with Composer

Follow the steps below to install Varbase distribution for Drupal 9 on a local server.

### Requirements

1. [Composer](https://getcomposer.org/doc/00-intro.md) package manager
2. [NPM](https://www.npmjs.com/) package manager
3. [Yarn](https://yarnpkg.com/) package manager

### Procedure

{% hint style="success" %}

### 2 easy steps to install

{% endhint %}

1. Run the following command:&#x20;

   ```
   composer create-project Vardot/varbase-project:~10.1.0 YOUR_PROJECT --no-dev --no-interaction
   ```

   Composer will create a new directory called `YOUR_PROJECT` containing a `docroot` directory with a full Varbase codebase.&#x20;

2\. Point your browser to your localhost folder where you installed ran the command. \
You can then install Varbase as you install Drupal normally.

<figure><img src="/files/OisMGbmSh0Vj1aFHiNgN" alt=""><figcaption></figcaption></figure>

## Installing Varbase locally with DDEV

[DDEV](https://github.com/ddev/ddev) is an open source tool for launching local web development environments in minutes. It supports PHP and other languages.

{% content-ref url="/pages/PeQWdbHZaQt9sm6Ju9ze" %}
[Installing Varbase locally with DDEV](/10.1.x/developers/installing-varbase/installing-varbase-with-ddev.md)
{% endcontent-ref %}

## Installing Varbase locally with Lando

[Lando](https://lando.dev/) is a great local development environment for Drupal and other applications that vastly simplifies local development and DevOps so you can focus on the application, rather than the environment.

{% content-ref url="/pages/-MAM2nd\_pkFMAZbLe0i6" %}
[Installing Varbase locally with Lando](/10.1.x/developers/installing-varbase/installing-varbase-with-lando.md)
{% endcontent-ref %}

## Deploy Varbase on Platform.sh

You can install Varbase on [Platform.sh](https://platform.sh/) and enjoy 30 days free trial for new users!

Follow this link to provision your Varbase instance on Platform.sh: [**Deploy Varbase on Platform.sh**](https://console.platform.sh/projects/create-project?template=https://raw.githubusercontent.com/Vardot/templates-external/master/templates/varbase.template.yaml)!

Or deploy it using the baseline [Varbase Platform.sh template project](https://github.com/Vardot/platformsh-varbase).

{% hint style="info" %}
Follow Platform.sh documentation on developing with Drupal and Varbase.\
See <https://docs.platform.sh/guides/drupal9/deploy.html>
{% endhint %}

## Remote Development Environment

* [**Gitpod**](https://gitpod.io/#https://github.com/vardot/varbase-project)
* [**Tugboat.qa**](https://www.tugboatqa.com/)


---

# 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.varbase.vardot.com/10.1.x/developers/installing-varbase.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.
