3 ms·
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
by 64bitbrain 10y ago
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 https://github.com/rgcr/m-cli.git
Off course it won't be able to access the /usr/local/
- planb 10y agoMost people using this probably have homebrew installed, which makes /usr/local writable for the main user.
- JadeNB 10y agoThe 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