# Run in Codespaces

Codespaces is a cloud development environment (CDE) that's hosted in the cloud. You can customize your project for GitHub Codespaces by committing configuration files to your repository (often known as Configuration-as-Code), which creates a repeatable codespaces configuration for all users of your project. [GitHub Codespaces overview](https://docs.github.com/en/codespaces/overview)

***

## Prerequisites

* Review the [Quickstart for GitHub Codespaces](https://docs.github.com/en/codespaces/getting-started/quickstart) guide.
* Install the VSCode Desktop application.
* In [Editor preference](https://github.com/settings/codespaces) change your client to `Visual Studio Code` (Should not be `Visual Studio Code for the Web`)

***

## Configure Dev Container

To configure the dev container, open the [Hiero Local Node repo](https://github.com/hashgraph/hedera-local-node) and click on `Code`->`Codespaces`->`...`-> `Configure dev container`.

<figure><img src="/files/T6sOp3pbLwEz2tG2caBN" alt="" width="563"><figcaption></figcaption></figure>

This will open the dev container configuration file where you can customize your configuration like the CPUs and memory.

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

{% hint style="info" %}
**Note**: If you make changes to your config file, commit and push your changes before running local node, to ensure the project starts with the right configuration.
{% endhint %}

## Creating and Running Your Codespace

Open the [Hiero Local Node repo](https://github.com/hashgraph/hedera-local-node) and click on the `Code`->`Codespaces`->`...`-> `New with options...` button and choose the appropriate settings:

<figure><img src="/files/3Fpw7pwSH9gKQfIodeGb" alt="" width="563"><figcaption></figcaption></figure>

Once your codespace is created, the template repository will be automatically cloned into it. Your codespace is all set up, and the local node is running!

<figure><img src="/files/6Uc1uDamPiUzMlpGbdeE" alt=""><figcaption></figcaption></figure>

***

## Conclusion and Additional Resources

Congrats on successfully setting up your Codespace and running a Hiero Local Node!

**➡** [**Hiero Local Node Repository**](https://github.com/hashgraph/hedera-local-node#readme)

**➡** [**Quickstart for GitHub Codespaces**](https://docs.github.com/en/codespaces/getting-started/quickstart)

**➡** [**Adding Dev Container Config to Repo**](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration)


---

# 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.hiero.org/getting-started/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces.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.
