hg init

Create a new repository in the specified directory. More information: https://www.mercurial-scm.org/doc/hg.1.html#init.

hg init

hg init {{path/to/directory}}