# Tapping into Radicle CLI

By [Monk Fenix](https://paragraph.com/@monkfenix) · 2022-05-08

---

Goal: Achieving decentralisation for source control, eventually aim is moving away from Github

Steps:

1.  Took a read of the [docs](https://docs.radicle.xyz/), ended up at the [getting started guide](https://docs.radicle.xyz/getting-started)
    
2.  Decided to go with the CLI, so although I didn’t have to, and could have done just done `cargo install --force --locked --git https://seed.alt-clients.radicle.xyz/radicle-cli.git radicle-cli` I wanted to get a little bit more deep so I forked the [Radlcie CLI repo](https://github.com/radicle-dev/radicle-cli) to build it from source.
    
3.  Ran `rustup update` to fix an initial compilation issue with an outdated version of rust
    
4.  Ran `brew install cmake` based a new error stating to check if `cmake` was installed
    
5.  Ran the `cargo install --force --locked --path .` command, hoping third time’s the charm. Went and made some coffee…takes awhile to build. Continued reading into the docs in the meanwhile. Success! It compiled!
    
6.  Ran `rad auth`. I had previously downloaded [Radicle Upstream](https://radicle.xyz/tryit), the desktop GUI, so it picked up my original ID and added it once I entered my password.
    
7.  Created a new folder, did `rad init` with error. Seems like you need to have a folder with git already set up to get it initialised. I was working thru a [Buildspace course](https://buildspace.so/p/build-solidity-web3-app) so decided to use that folder as I hadn’t fully set it up yet.
    
8.  Ran `git init -y` to initialise git
    
9.  Ran `git checkout -b main` to configure my branch
    
10.  Ran `touch .gitignore` to create a file to commit
    
11.  Ran `git add .` to add the file
    
12.  Ran `git commit -m “adds git ignore` to commit the change
    
13.  Ran `rad init` again, this time it worked. Followed the wizard and gave it a new name, it was successful. Confirmed that `rad .`gave me back the details for the repo in Radicle
    
14.  Tried to do a `rad push` but got an error
    

![](https://storage.googleapis.com/papyrus_images/ce340e1753fffb833b99f26f68b83fed6e73ec194f8c4567e502e052c8588c96.png)

Troubleshooting
---------------

Line 14 of the `.git/config` file referenced in the error had this entry:

    [gpg]
        format = ssh
    

I ran down a rabbit hole for a bit, and then realised I hadn’t paid attention to the warning about my current git version. It turns out I had been using the default Apple system installed version, which wasn’t current enough for the Radicle CLI to work properly. I ran `brew install git` first, and then re-ran `rad push`. Success!

![](https://storage.googleapis.com/papyrus_images/c1f9b4000ed59875e9dd93508a35440b8e3909803284fecaefe635216e3ad00e.png)

A little shaky, but all in all, not too bad an experience, Radicle hosts a seed node for my content as well, [making it available](https://app.radicle.network/seeds/willow.radicle.garden/rad:git:hnrkq9pjp3ihub381mhzzmqjbkcx7q7tkbnwo) right away. Nice!

---

*Originally published on [Monk Fenix](https://paragraph.com/@monkfenix/tapping-into-radicle-cli)*
