Generally, citizens from most of the countries can apply visa on arrival. Indian nationals do not need VISA but need valid passport. There are special provisions for SAARC nationals.
Before travelling to Nepal, the foreigners are requested to contact the respective diplomatic mission of Nepal abroad.