# Opam init error on Mac

**URL:** <https://discuss.ocaml.org/t/opam-init-error-on-mac/2276>\
**Category:** Learning\
**Created:** [July 11, 2018, 8:08pm UTC](https://discuss.ocaml.org/t/opam-init-error-on-mac/2276 "2018-07-11T20:08:27Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![UnixJunkie](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/unixjunkie/32/638_2.png) [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Post date:** [January 21, 2019, 6:18am UTC](https://discuss.ocaml.org/t/opam-init-error-on-mac/2276/7 "2019-01-21T06:18:31Z")

</div>

My workaround was this:

```auto
opam init github git+https://github.com/ocaml/opam-repository.git

```

But I would have liked the default rsync method to work out of the box even on a mac…

---

_[View the full topic](https://discuss.ocaml.org/t/opam-init-error-on-mac/2276)._
