Eu instalei o pacote usando brew install
como indicado em READ.me
sem ressalvas, então instalei o rust porque era uma dependência ausente, e o comando tlrc
ainda não é reconhecido. Aqui está a saída do brew info e o uso do comando:
brew info tlrc
==> tlrc: stable 1.9.3 (bottled), HEAD
Official tldr client written in Rust
https://github.com/tldr-pages/tlrc
Conflicts with:
tealdeer (because both install `tldr` binaries)
tldr (because both install `tldr` binaries)
Installed
/opt/homebrew/Cellar/tlrc/1.9.3 (12 files, 2.3MB) *
Poured from bottle using the formulae.brew.sh API on 2024-12-14 at 09:50:31
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/t/tlrc.rb
License: MIT
==> Dependencies
Build: rust ✔
==> Options
--HEAD
Install HEAD version
==> Caveats
zsh completions have been installed to:
/opt/homebrew/share/zsh/site-functions
==> Analytics
install: 456 (30 days), 1,420 (90 days), 7,478 (365 days)
install-on-request: 456 (30 days), 1,420 (90 days), 7,478 (365 days)
build-error: 0 (30 days)
❯ tlrc h
zsh: correct 'tlrc' to 'tr' [nyae]? n
zsh: command not found: tlrc
rust
foi instalado corretamente:
brew info rust
==> rust: stable 1.83.0 (bottled), HEAD
Safe, concurrent, practical language
https://www.rust-lang.org/
Installed
/opt/homebrew/Cellar/rust/1.83.0 (3,552 files, 312.8MB) *
Poured from bottle using the formulae.brew.sh API on 2024-12-14 at 09:56:51
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/r/rust.rb
License: Apache-2.0 OR MIT
==> Dependencies
Required: libgit2 ✔, libssh2 ✔, llvm ✔, openssl@3 ✔, pkgconf ✔, zstd ✔
==> Requirements
Required: macOS >= 10.12 (or Linux) ✔
==> Options
--HEAD
Install HEAD version
==> Caveats
zsh completions have been installed to:
/opt/homebrew/share/zsh/site-functions
==> Analytics
install: 38,074 (30 days), 106,686 (90 days), 460,024 (365 days)
install-on-request: 28,723 (30 days), 80,606 (90 days), 344,330 (365 days)
build-error: 248 (30 days)
O comando é chamado
tldr
. Isso foi sugerido naConflicts with
seção dabrew info
saída que você postou.Também é mostrado na saída de
brew list tlrc
:Observe a
/opt/homebrew/Cellar/tlrc/1.9.3/bin/tldr
entrada. Ela é automaticamente vinculada aobin
diretório Homebrew na instalação e, portanto, deve estar no seu caminho.Você não precisa instalar o Rust para usar
tldr
. Você só precisaria instalar o Rust se precisasse reconstruir o binário, nesse caso o Homebrew o instalaria para você (é uma dependência de compilação, não uma dependência de tempo de execução).