brew link

From wikieduonline
Revision as of 07:33, 30 June 2022 by Welcome (talk | contribs) (→‎Related commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[edit]

See also[edit]

Advertising: