I used to be very thin, too. 172 was only 57kg. I tried many methods, mainly eating, but I found that I couldn't get fat. I am desperate. Later, I happened to find that fitness and muscle training were actually done by several buddies for a long time. After talking with them, I realized that fitness is the only way to gain weight.
What you want is not to gain weight, but to gain muscle. Even if the last person eats fat, his appearance looks good, but once he takes off his clothes, the meat will be loose. I believe this is not what you want. The shape created by muscle gain is the model's figure. The way is to go to fitness, mainly strength training, and then eat. Because thin people don't have to worry too much, they basically eat everything when eating, commonly known as garbage muscle-building method. 5~6 meals a day, 3 big meals and 3 small meals.
Two months after I started exercising, I gained 10 Jin, of which about seven or eight Jin was muscle. One of the advantages of thin people's fitness is that they don't have to lose weight. If they practice paying attention to their diet for a certain period of time, they can become beautiful bodies (refer to those models in Europe and America). It will be more troublesome if you are fat. Besides gaining muscle, you have to lose weight.
For specific suggestions, go to fittime official website and Fitness official website. It's not an advertisement, because Weibo, who has been watching him since fitness, is more scientific.
I hope I can help you. I'm happy to answer any questions.