Kusama CC2 is tagged on the paritytech/polkadot repository as v0.6.0.
- Pull the latest code from GitHub.
If you have previously built an old version you can run the commands below:
# At the root of polkadot repository
$ pwd
# For example: /home/user/polkadot