Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does it need to be ran as root?

Downloading m-cli from git to /usr/local fatal: could not create work tree dir '/usr/local/m-cli': Permission denied Failed to clone => https://github.com/rgcr/m-cli.git

Off course it won't be able to access the /usr/local/



Most people using this probably have homebrew installed, which makes /usr/local writable for the main user.


The README addresses this (with the somewhat elliptical "You need privileges"), and points out a work-around:

> You can also install it in a different path

    INSTALL_DIR=$HOME/.m-cli sh <(curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.sh)
> Note: You need privileges




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: