Difference between revisions of "Brew link"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 
<code>[[brew]] link</code>
 
<code>[[brew]] link</code>
  
Line 41: Line 42:
 
== 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: