1

I'm trying to install GitLab Runner on Mac with manual installation, but after entering the first command:

sudo curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64

I get the following error:

User is not in the sudoers file. This incident will be reported.

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Mohsen Rezaii
  • 11
  • 1
  • 1
  • 3
  • 1
    Have you checked [How to solve “User is not in sudoers file, incident reported”](https://apple.stackexchange.com/q/190883/253138) over at [AskDifferent](https://apple.stackexchange.com/help/on-topic)? – Gino Mempin Oct 09 '19 at 12:59
  • 2
    Possible duplicate of ['Username' is not in the sudoers file. This incident will be reported](https://stackoverflow.com/questions/47806576/username-is-not-in-the-sudoers-file-this-incident-will-be-reported) – Gino Mempin Oct 09 '19 at 13:02

1 Answers1

0

I managed a similar problem (install Cocoapods) by adding to my user the admin rights.
Go to Settings -> Users -> Click "User is allowed to admin this computer". After a restart, it should work again.

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103