Welcome!
There are lots of resources on the forum that can answer these questions. Do some reading under "resources" and use the search function and then come back with specific questions you don't find answers for. Depending on where you live and what your climate and house are like, either one may work, but it also depends on your particular definition of "vivarium" or "terrarium". Most people in the USA use screened cages. There is an excellent article "Raising Kitty the Veiled Chameleon" that can answer a lot of this.