There is no definitive answer to this question as it depends on a number of factors, including the person’s age, health, and ability to find food and shelter. However, there are some documented cases of people surviving for extended periods of time in isolated environments.
In 2006, a man named Mauro Morandi survived for 19 years on an uninhabited island off the coast of Italy. Morandi was a hermit who lived in a makeshift hut and subsisted on fish that he caught with his bare hands. He also grew vegetables and fruits that he found on the island.
In 2012, another man named Jose Salvador Alvarenga washed ashore in Mexico after spending 13 months adrift at sea. Alvarenga survived by eating fish and drinking rainwater. He also managed to catch birds and turtles which he ate raw.
These are just two examples of people who have managed to survive for long periods of time alone in isolated environments. There are likely many more cases that have gone undocumented or unrecorded.