The public documentation on the Azure VM Agent covers the steps to manually install the Azure VM Agent on a Windows VM:
https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-agent-user-guide
What are the steps to manually install the Azure VM Agent on a Linux VM?