Difference between revisions of "Brew link"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 15: | Line 15: | ||
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> | ||
+ | |||
+ | |||
+ | |||
== Related commands == | == Related commands == |
Revision as of 18:42, 11 July 2021
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
Related commands
See also
Advertising: