Installing CKB Studio for Mac

Jonathan Caras
NervOS CKB Israel
Published in
5 min readMar 23, 2020

Walking you through installing CKB Studio on your Mac

NervOS Network is home to the native token Common Knowledge Base, aka CKB. If you are not familiar with NervOS, it is a Layer-1 blockchain focused on creating a sustainable smart contract, token issuance platform. The NervOS in a nutshell is a great place to learn about what makes this platform special.

If you want to get started developing for this platform you will need to get your hands a bit more dirty than you would back in the world of Ethereum.

NervOS is younger, hipper, and ready to party, but it is still missing many of the components needed to create a robust developer community.

The NervOS grant program is designed to help inspire talented engineers to jump in and help advance the project. Check out the available grants, or hop over to NervOS Talk to find out more.

In this post we are going to set up the developer environment called CKB Studio on a Mac. Once you are up and running with CKB Studio, take a look at the developer documentation to get some ideas how to get started building.

For more advanced stuff check out Xuejie Xiao’s blog.

Step 1: Download the IDE

Head over to https://www.obsidians.io/ or try the direct link http://download.obsidians.io/ckb to download the DMG file. As of this writing, the current version is 0.2.1

You know what to do here, drag the application to your applications folder

Step 2: Install to your applications folder

Now that you have the application downloaded and the DMG package opened, drag the app to your Applications Folder.

you have done this a million times

Step 3: Get your permissions in order

Because the software is so early in its development, your Mac will probably need you to manually verify that this is an application you want to open.

Head over to your System Preferences-> Security->General and click the lock at the bottom left.

You will need to scan your finger or put in your user password with sufficient permissions.

Step 4: Launch CKB Studio

Step 5: Install Docker (If needed)

After you have the app running, you will read to start installing the dependencies. Docker is a popular tool for getting different environments up and running quickly. If you don’t have Docker installed, do that now.

e

It’s a free app, but it’s not small. Go get a cookie, with chocolate, you deserve it.

Some more draggin and droppin

Now, run Docker and you should see a progress bar for Verifying the software

And a pop up asking if you really want to install

Because Docker touches so many sensitive things, you will be asked to give it extra access.

Ok, and then put in your password, after that Docker should start up.

When it’s done loading, you will see the green light

Now you should see that CKB Studio is a bit happier, and you are ready to move onto the next step.

Step 6: Install a CKB Node

CKB comes in many different flavours

For this tutorial we are going to be installing v0.30.1, you can install a different version in the future if needed as per the requirements from different tutorials.

The installation completes quickly. You should see the installer updated to look like this.

Step 7: Install the CKB Compiler

Again you get to pick which flavour, today we will install xenial-full-20191209

You can watch all the fun progress of the install.

Now the CKB installer is very happy.

Step 8: Open up the IDE

Click “Get Started”

Thats all for now. I will be posting a few sample projects that will be coming out of an internal hackathon over the next couple weeks.

Stay Tuned for some more adventures in the land of CKB.

Join the CKB Studio Telegram chat to stay up to date on progress on the IDE.

For now, you can check out these links to learn more about what is happening in the world of CKB.

https://docs.nervos.org/introduction/welcome.html

--

--