Difference between revisions of "Brew link"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | <code>[[brew]] link</code> | ||
+ | |||
+ | * <code>[[brew link minikube]]</code> | ||
+ | |||
+ | * <code>[[brew link midnight-commander]]</code> | ||
<pre> | <pre> | ||
Line 15: | Line 20: | ||
brew link --overwrite --dry-run kubernetes-cli | brew link --overwrite --dry-run kubernetes-cli | ||
</pre> | </pre> | ||
+ | |||
+ | <pre> | ||
+ | brew link awscli | ||
+ | Linking /usr/local/Cellar/awscli/2.2.18... | ||
+ | Error: Could not symlink bin/aws | ||
+ | Target /usr/local/bin/aws | ||
+ | already exists. You may want to remove it: | ||
+ | rm '/usr/local/bin/aws' | ||
+ | |||
+ | To force the link and overwrite all conflicting files: | ||
+ | brew link --overwrite awscli | ||
+ | |||
+ | To list all files that would be deleted: | ||
+ | brew link --overwrite --dry-run awscli | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | brew link --overwrite [[awscli]] | ||
+ | Linking /usr/local/Cellar/awscli/2.2.18... 7 symlinks created. | ||
== Related commands == | == Related commands == | ||
* <code>[[brew unlink]]</code> | * <code>[[brew unlink]]</code> | ||
+ | * [[keg-only]] | ||
== See also == | == See also == | ||
* {{brew}} | * {{brew}} | ||
[[Category:Homebrew]] | [[Category:Homebrew]] |
Latest revision as of 07:33, 30 June 2022
brew link
Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/kubectl Target /usr/local/bin/kubectl already exists. You may want to remove it: rm '/usr/local/bin/kubectl' To force the link and overwrite all conflicting files: brew link --overwrite kubernetes-cli To list all files that would be deleted: brew link --overwrite --dry-run kubernetes-cli
brew link awscli Linking /usr/local/Cellar/awscli/2.2.18... Error: Could not symlink bin/aws Target /usr/local/bin/aws already exists. You may want to remove it: rm '/usr/local/bin/aws' To force the link and overwrite all conflicting files: brew link --overwrite awscli To list all files that would be deleted: brew link --overwrite --dry-run awscli
brew link --overwrite awscli Linking /usr/local/Cellar/awscli/2.2.18... 7 symlinks created.
Related commands[edit]
See also[edit]
Advertising: