Difference between revisions of "Brew --prefix"
Jump to navigation
Jump to search
(Created page with "{{lowercase}} brew --prefix ruby@2.7 == See also == * {{brew}} Category:Brew") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | |||
+ | brew --prefix | ||
+ | /Users/your-user/brew | ||
+ | |||
+ | <code>brew --prefix [[ruby]]@2.7</code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | To add gcloud components to your [[PATH]], add this to your profile: | ||
+ | |||
+ | for bash users | ||
+ | [[source]] "$(brew --prefix)/share/google-cloud-sdk/path.bash.inc" | ||
+ | |||
+ | for zsh users | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc" | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc" | ||
+ | |||
+ | for fish users | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/path.fish.inc" | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[$HOME]]</code> | ||
+ | * <code>[[$HOME/brew/]]</code> | ||
+ | * [[$PATH]] | ||
== See also == | == See also == |
Latest revision as of 09:03, 1 April 2024
brew --prefix /Users/your-user/brew
brew --prefix ruby@2.7
To add gcloud components to your PATH, add this to your profile: for bash users source "$(brew --prefix)/share/google-cloud-sdk/path.bash.inc" for zsh users source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc" source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc" for fish users source "$(brew --prefix)/share/google-cloud-sdk/path.fish.inc"
Related[edit]
See also[edit]
Advertising: