Skip to content
Snippets Groups Projects
Commit 23142bb2 authored by Alex Dunn's avatar Alex Dunn
Browse files

tips-n-tricks: don't encourage sudo


Closes Homebrew/homebrew#43363.

Signed-off-by: default avatarAlex Dunn <dunn.alex@gmail.com>
parent fa1cc67e
No related branches found
No related tags found
No related merge requests found
......@@ -86,14 +86,6 @@ http_proxy=http://<proxyhost>:<proxyport> brew install $FORMULA
http_proxy=http://<user>:<password>@<proxyhost>:<proxyport> brew install $FORMULA
```
**NB:** this technique will also work if you prefer to use `sudo` with Homebrew. But as `sudo` clears the environment before executing Homebrew, your proxy settings may get lost.
**Workaround:**
```bash
$ http_proxy=http://<proxyhost>:<proxyport> sudo -E brew install $FORMULA
```
## Installing stuff without the Xcode-CLT
```sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment