Team Fortress 2 calls for around 9 GB of storage space to install comfortably.
Leave a little extra room for updates and cached files, since the game continues to receive patches over time. With that much free space, you'll be set to install and play without a hitch.