Skip to content

Instantly share code, notes, and snippets.

@sebastinez
Created February 24, 2022 11:51
Show Gist options
  • Select an option

  • Save sebastinez/ea92901453598435c317d848f06f9fee to your computer and use it in GitHub Desktop.

Select an option

Save sebastinez/ea92901453598435c317d848f06f9fee to your computer and use it in GitHub Desktop.
Radicle CLI installation with Brew on MacOS
➜ / brew tap radicle/cli https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git
==> Tapping radicle/cli
Cloning into '/usr/local/Homebrew/Library/Taps/radicle/homebrew-cli'...
remote: Enumerating objects: 36, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 36 (delta 14), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (36/36), 4.45 KiB | 239.00 KiB/s, done.
Tapped 1 formula (47 files, 16.8KB).
➜ / brew install radicle/cli/core
==> Downloading https://github.com/radicle-dev/radicle-cli/releases/download/v0.1.2/radicle-cli-x86_64-apple-darwin.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/387436651/917c8c3c-f22b-4e8c-8649-6a657891c37b?X-Amz
######################################################################## 100.0%
==> Installing core from radicle/cli
🍺 /usr/local/Cellar/core/0.1.2: 22 files, 101.4MB, built in 2 seconds
==> Running `brew cleanup core`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
➜ / rad
dyld[73427]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: /usr/local/Cellar/core/0.1.2/bin/rad
Reason: tried: '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/lib/libusb-1.0.0.dylib' (no such file), '/usr/lib/libusb-1.0.0.dylib' (no such file)
[1] 73427 abort rad
➜ / brew install libusb
==> Downloading https://ghcr.io/v2/homebrew/core/libusb/manifests/1.0.25
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libusb/blobs/sha256:95c09d4f1f6e7a036b8d09a5ced561c0b8be29e6caa06030624e77f10ad2521a
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:95c09d4f1f6e7a036b8d09a5ced561c0b8be29e6caa06030624e77f10ad2521a?
######################################################################## 100.0%
==> Pouring libusb--1.0.25.monterey.bottle.tar.gz
🍺 /usr/local/Cellar/libusb/1.0.25: 22 files, 525.5KB
==> Running `brew cleanup libusb`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
➜ / arch
i386
➜ / rad
dyld[73996]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
Referenced from: /usr/local/Cellar/core/0.1.2/bin/rad
Reason: tried: '/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib' (no such file), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file)
[1] 73996 abort rad
➜ / brew install openssl@1.1
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2022-02-01
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:40e00f88df310bc2dc42aefb3e834c0a3022f125fecdf21f26431d12a104dbc0
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:40e00f88df310bc2dc42aefb3e834c0a3022f125fecdf21f26431d12a104dbc0?
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1m
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:bac056f55bf254752ed522eccf37cf2c7cfdc38d46b2c469a777f5feb41cbbc4
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:bac056f55bf254752ed522eccf37cf2c7cfdc38d46b2c469a777f5feb41cbbc4?
######################################################################## 100.0%
==> Installing dependencies for openssl@1.1: ca-certificates
==> Installing openssl@1.1 dependency: ca-certificates
==> Pouring ca-certificates--2022-02-01.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺 /usr/local/Cellar/ca-certificates/2022-02-01: 3 files, 213.4KB
==> Installing openssl@1.1
==> Pouring openssl@1.1--1.1.1m.monterey.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH, run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
==> Summary
🍺 /usr/local/Cellar/openssl@1.1/1.1.1m: 8,081 files, 18.5MB
==> Running `brew cleanup openssl@1.1`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Caveats
==> openssl@1.1
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH, run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
➜ / rad
Usage: rad <command> [--help]
Common `rad` commands used in various situations:
auth Manage radicle identities and profiles
init Initialize radicle projects from git repositories
self Show information about your radicle identity and device
inspect Inspect a radicle identity or project directory
account Manage radicle ethereum accounts
clone Clone radicle projects
ls List radicle projects and other objects
remote Manage radicle remotes
push Publish radicle projects to the network
pull Pull radicle projects
checkout Checkout a radicle project working copy
track Manage radicle project tracking relationships
untrack Untrack radicle project peers
sync Synchronize radicle projects with seeds
ens Manage your radicle ENS records
help Radicle CLI help
See `rad <command> --help` to learn about a specific command.
➜ /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment