# Setup Development Environment

Setup your development environment for building v5 apps.

***

## Prerequisites

* Node.js 20+ installed
* Code editor (VS Code recommended)
* Git installed
* Access to iviva repositories

***

## 1. Setup iviva Framework

Clone and build the framework:

```bash
# Clone framework
git clone http://source.iviva.com/dinesh/iviva-net-core
cd iviva-net-core
git checkout v5-design-changes

# Build framework
cd iviva-net-core
dotnet publish -o ../build

# Run ivivaweb
cd ../build
dotnet ivivaweb.dll
```

**Note:** Use this local build instead of release builds for v5 development.

***

## 2. Setup Apps Repository

Clone the apps repository:

```bash
cd /path/to/your/iviva/apps
git clone http://source.iviva.com/dinesh/iviva.dx
cd iviva.dx
git checkout dev/dinesh
```

***

## 3. Enable V5 Apps

Enable System and Location v5 apps:

```bash
sdm <account> enableapp System 5.0
sdm <account> enableapp Location 5.0
sdm <account> mergedb auto
sdm <account> installviews
```

***

## 4. Verify Framework Setup

Access v5 screen:

```
http://<your-account-url>/view/location
```

If you see the Location v5 app, framework setup is complete.

***

## Next Steps

Your development environment is ready. Continue to:

* [Step 2: Migration Setup](/uxp/v5/getting-started/migration-setup.md) - Setup your app for migration


---

# 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://help.iviva.com/uxp/v5/getting-started/setup-environment.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.
