# How To Start Tahoe

This is how to run a Tahoe node or a complete Tahoe grid. First you have to install the Tahoe source code, as documented in install.html.

The tahoe executable in the bin directory is used to create, start, and stop nodes. Each node lives in a separate base directory in which you can add files to configure the node. Nodes also read and write files within that directory.

A grid consists of a single introducer and one or more nodes. If you are creating a new grid, you'll need to create both an introducer and a node (and then invite other people to create their own nodes and join your grid). If you are joining an existing grid (such as the public test grid), the introducer will already be running, and you'll need to create a node.

To construct an introducer, create a new base directory for it (the name of the directory is up to you), cd into it, and run "path-to-the-tahoe-bin-directory/tahoe create-introducer .". Now start the introducer by running "tahoe start .". After it starts, there will be a file named introducer.furl in that base directory. This file contains the URL the nodes must use in order to connect to this introducer.

To construct a node run "path-to-the-tahoe-bin-directory/tahoe create-client", which will create ~/.tahoe to be the node's base directory. Acquire a copy of the introducer.furl from the introducer and put it into this directory, then run "path-to-the-tahoe-bin-directory/tahoe start". After that, the node should be off and running. The first thing it will do is connect to the introducer and get itself connected to all other nodes on the grid. By default, a node will serve as a Storage Server, meaning that it offers its disk space to other nodes. To configure other behavior, see configuration.txt.

To stop a running node run "path-to-the-tahoe-bin-directory/tahoe stop".

## Do Stuff With It

Now you have a decentralized filesystem. See using.html for instructions about how to interact with it.