radicle-heartwood-lfs/radicle-cli/examples/rad-init.md

1.7 KiB

To create your first radicle project, navigate to a git repository, and run the init command. Make sure you have authenticated beforehand.

$ rad init --name heartwood --description "Radicle Heartwood Protocol & Stack" --no-confirm --no-track -v

Initializing radicle 👾 project in .

✓ Project heartwood created
{
  "name": "heartwood",
  "description": "Radicle Heartwood Protocol & Stack",
  "defaultBranch": "master"
}

Your project's Repository ID (RID) is rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji.
You can show it any time by running `rad .`

To publish your project to the network, run `git push`

Projects can be listed with the ls command:

$ rad ls
╭──────────────────────────────────────────────────────────────────────────────────────────────╮
│ Name        RID                                 Head      Description                        │
├──────────────────────────────────────────────────────────────────────────────────────────────┤
│ heartwood   rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji   f2de534   Radicle Heartwood Protocol & Stack │
╰──────────────────────────────────────────────────────────────────────────────────────────────╯