Brew link

From wikieduonline
Revision as of 18:43, 11 July 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

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: