radicle-cli icon indicating copy to clipboard operation
radicle-cli copied to clipboard

Unable to install Radicle on Apple Silicon

Open Gizmotronn opened this issue 2 years ago • 2 comments

Hi! I've been trying to install Radicle on my Mac using Home-brew and am routinely running into errors:

cargo install --force --locked --git https://seed.alt-clients.radicle.xyz/radicle-cli.git radicle-cli
    Updating git repository `https://seed.alt-clients.radicle.xyz/radicle-cli.git`
warning: spurious network error (2 tries remaining): failed to resolve address for seed.alt-clients.radicle.xyz: nodename nor servname provided, or not known; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for seed.alt-clients.radicle.xyz: nodename nor servname provided, or not known; class=Net (12)
error: failed to clone into: /Users/buyer/.cargo/git/db/radicle-cli-2107f8ce6226fc01

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to resolve address for seed.alt-clients.radicle.xyz: nodename nor servname provided, or not known; class=Net (12)



brew tap radicle/cli https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git && brew install radicle/cli/core
==> Tapping radicle/cli
Cloning into '/opt/homebrew/Library/Taps/radicle/homebrew-cli'...
fatal: unable to access 'https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git/': Could not resolve host: seed.alt-clients.radicle.xyz
Error: Failure while executing; `git clone https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git /opt/homebrew/Library/Taps/radicle/homebrew-cli --origin=origin --template=` exited with 128.

Is Radicle still able to be installed? Because following the documentation on your site, it doesn't seem to be installable anymore.

Gizmotronn avatar Feb 16 '23 07:02 Gizmotronn

I believe this is because this version of the CLI is being deprecated with a move to the new iteration of Radicle, which you can find https://github.com/radicle-dev/heartwood (note that it's very much in the alpha stages).

I think there's plans for those old URLs to point to an archived version of the project on IPFS, but maybe @cloudhead can confirm that :)

FintanH avatar Feb 16 '23 09:02 FintanH

Hi @Gizmotronn, the URL you are trying to install the CLI from has been migrated to the new iteration. If you have cargo on your machine you should be able to compile radicle-cli from the source code located in this repo, and then use the rad binary v0.7 to handle pre heartwood repos.

As @FintanH said to be able to view pre heartwood repos you can use this repo we pinned on IPFS explained more here https://github.com/radicle-dev/radicle-interface#deployments

sebastinez avatar Feb 22 '23 18:02 sebastinez