> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-chore-gha-061634-stepsecurity-remediation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Run a Local Node 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 first the [Quickstart for GitHub Codespaces](https://docs.github.com/en/codespaces/getting-started/quickstart) guide.
* Install VS Code 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 t he dev container, open the [Hedela Local Node repo](https://github.com/hashgraph/hedera-local-node) and click on the `Code`->`Codespaces`->`...`-> `Configure dev container`.

<Frame>
  <img src="https://mintcdn.com/hedera-0c6e0218-chore-gha-061634-stepsecurity-remediation/u31ujLRv-mm1Z_xA/images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-1.png?fit=max&auto=format&n=u31ujLRv-mm1Z_xA&q=85&s=5018f4181fa84c413bbf3efe98a42ae1" width="1886" height="1408" data-path="images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-1.png" />
</Frame>

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

<Frame>
  <img src="https://mintcdn.com/hedera-0c6e0218-chore-gha-061634-stepsecurity-remediation/u31ujLRv-mm1Z_xA/images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-2.png?fit=max&auto=format&n=u31ujLRv-mm1Z_xA&q=85&s=485ffa120a05fa1fba1a779574e38181" width="1996" height="814" data-path="images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-2.png" />
</Frame>

<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.
</Info>

## Creating and Running Your Codespace

Open the [Hedela 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:

<Frame>
  <img src="https://mintcdn.com/hedera-0c6e0218-chore-gha-061634-stepsecurity-remediation/u31ujLRv-mm1Z_xA/images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-3.jpg?fit=max&auto=format&n=u31ujLRv-mm1Z_xA&q=85&s=9408a20d9b90de3a9ea00cd6d1482834" width="1111" height="1054" data-path="images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-3.jpg" />
</Frame>

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

<Frame>
  <img src="https://mintcdn.com/hedera-0c6e0218-chore-gha-061634-stepsecurity-remediation/u31ujLRv-mm1Z_xA/images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-4.png?fit=max&auto=format&n=u31ujLRv-mm1Z_xA&q=85&s=530e468b012f2f688c89a993f1162b76" width="1790" height="1086" data-path="images/tutorials/local-node/how-to-run-hedera-local-node-in-a-cloud-development-environment-cde/codespaces/codespaces-4.png" />
</Frame>

***

## Conclusion and Additional Resources

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

**➡** [**Hedera 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)
