pac solution pack --folder ./YourSolutionFolder --zipfile ./YourSolution.zip --log
pac solution import --path ./YourSolution.zip --environment <your-env-id>
You can find the full guide here:
📘 Microsoft Learn – ALM with Power Platform
If this helped or could help others in the community, feel free to give it a like or kudo — it helps surface useful answers for everyone!