The Boer commando was the basic unit of organisation of the militia of the Boer people of South Africa. The term came into English usage during the Second Boer War.
In 1658, war erupted between the Dutch settlers at Cape Colony and the Khoi-khoi. In order to protect the settlement, all able bodied men were conscripted. After the conclusion of this war, all men in the colony were liable for military service and were expected to be ready on short notice.
By 1700, the size of the colony had increased immensely and it was divided into districts. The small military garrison stationed at the Castle de Goede Hoop couldn't be counted on to react swiftly in the border districts, therefore the commando system was expanded and formalized. Each district had a Kommandant who was charged with calling up all burghers in times of need. In 1795, with the First British Occupation and again in 1806 with the Second British Occupation, the commandos were called up to defend the Cape Colony. At the Battle of Blaauwberg (6 January 1806), the Swellendam Commando held the British off long enough for the rest of the Batavian army to retreat to safety.
Under British rule, the Cape Colony continued to use the commando system in its frontier wars, in addition to regular British imperial troops. Boer commandos fought alongside Fengu, British settlers, Khoi-khoi and other ethnic groups in units which were often mixed. Light, mobile commandos were undeniably better-suited than the slow-moving columns of imperial troops, for warfare in the rough frontier mountains. However, tensions often arose in the Cape's government over the relative merits and control of these two parallel military systems.