web-dev-qa-db-fra.com

après l'installation de brew, je reçois `commande introuvable: brew`

➜  ~ /usr/bin/Ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-e:77: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040677
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
    Ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
The current contents of /usr/local are bin CODEOFCONDUCT.md etc git lib Library LICENSE.txt munki README.md sbin share .git .github .gitignore
➜  ~ brew install maven
zsh: command not found: brew
9
Elad Benda2

Homebrew a été installé sur votre ordinateur. Vous devez modifier votre CHEMIN comme ceci:

export PATH=/usr/local/bin:$PATH

ou exécutez brew à partir de son origine:

/usr/local/bin/brew install maven
25
Hamid Rohani

assurez-vous d'installer d'abord l'infusion

Ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
1
Yao Li