Merge pull request #16805 from Homebrew/improve-pkg-shellenv-instructions

package: improve shellenv instructions
This commit is contained in:
Bo Anderson 2024-03-04 02:59:05 +00:00 committed by GitHub
commit 43a03ef975
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,14 +28,20 @@ Homebrew is run entirely by unpaid volunteers. Please consider donating:\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0 \pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls3\ilvl0\cf0 \ulnone {\listtext \uc0\u8259 }To add Homebrew to your \ls3\ilvl0\cf0 \ulnone {\listtext \uc0\u8259 }To add Homebrew to your
\f2 PATH \f2 PATH
\f1 run \f1 , add to your shell profile (e.g.
\f2 brew shellenv
\f1 in your shell profile (e.g.
\f2 ~/.bash_profile \f2 ~/.bash_profile
\f1 or \f1 or
\f2 ~/.zprofile \f2 ~/.zprofile
\f1 )\ \f1 ):\
{\listtext \uc0\u8259 }Run \pard\tx940\tx1440\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li1440\fi-1440\pardirnatural\partightenfactor0
\ls3\ilvl1\cf0 {\listtext \uc0\u8259 }
\f2 eval "$(/opt/homebrew/bin/brew shellenv)"
\f1 on Apple Silicon\
\ls3\ilvl1{\listtext \uc0\u8259 }
\f2 eval "$(/usr/local/bin/brew shellenv)"
\f1 on Intel\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls3\ilvl0\cf0 {\listtext \uc0\u8259 }Run
\f2 brew help \f2 brew help
\f1 to get started\ \f1 to get started\
{\listtext \uc0\u8259 }Further documentation:\ {\listtext \uc0\u8259 }Further documentation:\