> For the complete documentation index, see [llms.txt](https://mhy.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mhy.js.org/others/development.md).

# Development of mhy

## Setup environment (an environment to develop `mhy` itself!)

1. Fork repository
2. Open `mhy`'s `package.json` file.
3. Rewrite the values for `name` and `bin` to something else (eg: `mhyd`).
4. Run `npm link` ([See npmjs.org](https://docs.npmjs.com/cli/link.html))
5. The above command will make your local version of `mhy` available globally with the command (`mhyd`).
6. Create PR when done (do not commit in the changes for the naming).

> Use `npm run build -- --watch` to watch for file changes.
>
> The name rewrite is needed because `mhy` itself is being built using `mhy` which is why you also need an untouched stable version of it.
>
> The environment should work fine on Linux, Mac and Windows also.

## Creating processes/commands

Coming soon...
