13On disk your Urbit is an append-only log and a checkpoint. Or, in simpler terms, a directory where we keep all of your Urbit’s state. We call this a ‘pier’.
20When you first start an Urbit we create this pier directory and write to it.
22To start with a planet (`~fintud-macrep`) and ticket (`~fortyv-tombyt-tabsen-sonres`):
24 bin/urbit -w fintud-macrep -t fortyv-tombyt-tabsen-sonres
26This will create a directory `fintud-macrep/` and begin the initialization process for that planet. Be patient, it can take a few minutes.
28Without a planet anyone can create a comet:
32This will create a directory `comet/` and start up a random 64-bit comet. You can specify any name you like.
36When your Urbit is finished booting you should see a `dojo>` prompt. Welcome!
38By default your Urbit is quite bare bones. Let's take a very short stroll through what's running by default:
42The command prompt in front of you is a simple shell and Hoon REPL. Let's make sure it works:
44 ~fitund-macrep:dojo> (add 2 2)
53### Messaging — `:talk`
55Use `^X` to change your prompt. Let's join the main Urbit chat channel:
57 ~fitund-macrep:talk() ;join ~doznec/urbit-meta
59This may take a bit as `:talk` is stateful so your Urbit will download some backlog. `/urbit-meta` is the place to ask questions, get help and talk about anything Urbit related.
63Urbit is also accessible through the web. Try opening:
65 http://localhost:8080/
67in your favorite browser. You'll be prompted to use `+code`. This page was generated by `:tree`, the basic Urbit web interface. You can also access your Urbit through `http://fintud-macrep.urbit.org` (where `fintud-macrep` is your planet name).
69### Filesystem — `%clay`
71`%clay`, the Urbit filesystem, isn't mounted to unix by default. Switch to the `:dojo` prompt and run:
73 ~fitund-macrep:dojo> |mount %
80which indicates the command was processed.
82`|mount %` will cause a `home/` directory to appear inside your pier folder. Changes to these files are automatically synced into your Urbit.
86If you're eager to get started programming you're ready to head over to <a href="../../hoon/demo">the Hoon demo</a>.
88To learn more about using the system, let's keep going:
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list