The pineapple plant is one of few tropical fruits that are easy to grow in pots, so you can grow pineapples indoors.
You can also plant them in a garden.
Pineapples are pretty easy to grow because they don't need much care.
They don't need much water, because they have really tough leaves... so they don't lose much water through evaporation.
They don't need much soil or good quality soil, because they do not have a lot of roots.
They are herbaceous perennials and grow in the middle of a plant that is more like a spiky bush. Although you may think it would grow on a tree (because it is a tropical fruit) in actuality a pineapple is a ground dwelling fruit, like a tomato.
Where I live in Honduras there are like a quadrillion acres of pineapple plantations.
It's a ground dwelling fruit that grows in the middle of this spiky bush plant. They don't need much water. Their leaves are tough enough they don't lose much water through evaporation. They grow rather well in pots or tubs.
they grow like every other ordinary fruit. Add water and sunlight.
they grow underwater with sponges