Difference between revisions of "Brew link"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
[[brew]] link
+
<code>[[brew]] link</code>
  
 
<pre>
 
<pre>
Line 30: Line 30:
 
   brew link --overwrite --dry-run awscli
 
   brew link --overwrite --dry-run awscli
 
</pre>
 
</pre>
 +
 +
 +
brew link --overwrite awscli
 +
Linking /usr/local/Cellar/awscli/2.2.18... 7 symlinks created.
  
 
== Related commands ==
 
== Related commands ==

Revision as of 18:43, 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


brew link --overwrite awscli
Linking /usr/local/Cellar/awscli/2.2.18... 7 symlinks created.

Related commands

See also

Advertising: