Installing as a commit in the current repository.

TODO: remove the huge duplication.