From c92ed8eb04311c84649a3217cd5863ea4d0f2871 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 7 Jun 2011 13:37:59 -0700 Subject: [PATCH] Document HOMEBREW_CACHE --- Library/Contributions/manpages/brew.1.md | 7 +++++++ share/man/man1/brew.1 | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 0295a9eed3..511bd2745d 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -274,6 +274,13 @@ Some sample commands ship with Homebrew and are enabled by default. ## ENVIRONMENT + * HOMEBREW\_CACHE: + If set, instructs Homebrew to use the give folder as the download cache. + Otherwise, `~/Library/Caches/Homebrew` is used. + + This can be used to keep downloads out of your home folder, if you have + it mounted on an SSD for instance. + * HOMEBREW\_DEBUG: If set, instructs Homebrew to always assume `--debug` when running commands. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 986e2bfe2f..388f9389cd 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -308,6 +308,13 @@ $ ls `brew \-\-repository`/Library/Contributions/examples .SH "ENVIRONMENT" . .TP +HOMEBREW_CACHE +If set, instructs Homebrew to use the give folder as the download cache\. Otherwise, \fB~/Library/Caches/Homebrew\fR is used\. +. +.IP +This can be used to keep downloads out of your home folder, if you have it mounted on an SSD for instance\. +. +.TP HOMEBREW_DEBUG If set, instructs Homebrew to always assume \fB\-\-debug\fR when running commands\. .