Good question, my scripts are a mess. Some use the az cli (az sql db) for export (many of our clients use Azure), others just use sqlpackage.exe. process is generally:
1. export bacpac from stage/prod
2. import to LocalDb using sqlpackage.exe. (I'm on windows).
I use LocalDB (
https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb?view=sql-server-ver16) for most things. It's a full SQL implementation but with auto stop/start. It does have a 10GB limit on the DB size though, so for bigger clients I use the official SQL Server docker image (so I can stop/start as needed, run multiple versions, and don't have to pollute my machine with all the MSSQL cruft).