I've found that depending on where you're pitching your tarp will determine what the best method is.

If you're have good soil that stakes will stay in, a line with a Prussic or Klemheist knot...