The term ‘Update-Database’ is not recognized

I was installing NuGet Gallery server and following the guide until I got into error saying that there is no Update-Database command: Update-Database : The term ‘Update-Database’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify ...