User-agent: * Disallow: /
but this only helps with well-behaved robots.
See Can I block just bad robots?