@kripnal You need to be in a calorie surplus in order to build muscle, unless you already have enough body fat to stay alive each day, fuel non-exercise activity (NEAT), AND build muscle.
You may gain some weight in the beginning, but that’s not a bad thing. Keep in mind that muscle weighs more...