docs/contributing/set-up-a-development-environment.md
Setting up a local development environment for Faker allows you to contribute effectively to the project. Whether you prefer working directly on your machine or using a containerized setup, the following steps will guide you through the process.
Before you begin, you need to fork the Faker repository and clone it to your local machine.
::: tip Note If you are unfamiliar with Forks, check out GitHub Forking Guide. :::
git clone https://github.com/<Your_GitHub_Username>/faker
cd faker
git remote add upstream https://github.com/faker-js/faker.git
Faker can be developed using two different methods:
If you prefer working directly on your machine, follow these steps:
pnpm installed.pnpm run preflight
For a streamlined development experience, Faker supports VSCode Devcontainers.
Ctrl+Shift+P or Cmd+Shift+P on macOS) and select "Dev Containers: Reopen in Container".Your development environment has successfully been set up. You are now ready to Submit a Pull Request.