The 51-year-old will take charge of the first team for the last two games of the season following Graham Turner's decision earlier this week to stand down from the role.
Trewick is in the process of drawing up a list of possible coaches to assist him when the League Two campaign starts in August.
Turner, who had been the boss at Edgar Street for almost 14 years, will continue in his roles as director of football and chairman.