Then use the save sub-command to save this collection:
save
[name@server ~]$ module save my_modules
The my_modules argument is a name you give to the collection.
my_modules