> For the complete documentation index, see [llms.txt](https://documentation.opencrvs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.opencrvs.org/v1.9/setup/3.-installation/3.1-set-up-a-development-environment/3.1.3-starting-and-stopping-opencrvs.md).

# 4.1.3 Starting and stopping OpenCRVS

{% embed url="<https://www.youtube.com/watch?ab_channel=OpenCRVS&feature=youtu.be&v=O9heBUKl1_E>" %}

### Starting OpenCRVS Core

{% hint style="info" %}
NOTE: If you did not previously follow [this process](/v1.9/setup/3.-installation/3.1-set-up-a-development-environment/3.1.2-install-opencrvs-locally.md), you will see many errors and OpenCRVS Core will take a long time to start up, as it downloads large Docker images for dependencies.

If you do take time to follow the process, OpenCRVS will start much faster.
{% endhint %}

Open a new terminal window inside the **opencrvs-core** directory and run:

```bash
yarn dev
```

You will be asked to confirm that you are ready to start a country configuration server alongside opencrvs-core. If you ran our optional installation script, then you already have opencrvs-countryconfig directory available alongside the opencrvs-core directory. Click Y to continue, or N to exit.

{% hint style="info" %}
`yarn dev` used on its own, without the parameters below, starts up both dependencies and services in the same window. But it can be hard to debug issues with ports if logs for both are combined.
{% endhint %}

This command can be used in one terminal window to start only the database dependenices in Docker containers.

```bash
yarn dev --only-dependencies
```

This command starts up the core Node microservices, outside of docker containers.

```
yarn dev --only-services
```

### Starting OpenCRVS Country Configuration

Open a new terminal window inside the **opencrvs-countryconfig** directory and run:

```bash
yarn dev
```

### Stopping

1. Press Ctrl+c in the opencrvs-core terminal. After a few seconds Docker may prompt you to type Ctrl+c again to stop any running containers.
2. Press Ctrl+c in the opencrvs-countryconfig terminal, or your forked country configuration termina

### Other servers

When OpenCRVS is running, you can browse to other interesting developer dependencies of OpenCRVS such as:

Our UI Kit component library: [**http://localhost:6060/**](http://localhost:6060/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://documentation.opencrvs.org/v1.9/setup/3.-installation/3.1-set-up-a-development-environment/3.1.3-starting-and-stopping-opencrvs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
