Difference between revisions of "Brew link"

From wikieduonline
Jump to navigation Jump to search
(Created page with " brew link <pre> 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 /u...")
Tags: Mobile web edit, Mobile edit
 
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>
 +
 +
== Related commands ==
 +
* <code>[[brew unlink]]</code>
  
 
== See also ==
 
== See also ==
 
* {{brew}}
 
* {{brew}}
 
[[Category:Homebrew]]
 
[[Category:Homebrew]]

Revision as of 08:16, 19 April 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

Related commands

See also

Advertising: