In most jurisdictions around the world, driving a truck or heavy vehicle typically requires a commercial driver's license (CDL). The specific CDL requirements may vary depending on the jurisdiction, but they generally include passing written exams, vision tests, and a skills test that evaluates your ability to safely operate a commercial vehicle. To obtain a CDL, candidates typically need to meet minimum age and experience requirements, which also may vary by jurisdiction.
Whether a truck driver needs a license to operate within a depot or a restricted area may depend on local regulations and the nature of the work being performed. Some depots or warehouses may have their own internal guidelines and safety procedures, but local laws and regulations often take precedence. It's always best to check the specific requirements for the jurisdiction and facility where you plan to operate the truck.