function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neha AggrawalNeha Aggrawal 

Install packages

Hi,

We have developed some code which uses Redux, Lodash, Moment etc with LWC and apex. When we deploy to production, is it possible to install these packages/libraries automatically. Currently as we move to a different sandbox we need to install each of them again.

Thanks.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Neha,

It is expected once the pacakge is installed in Production and later if you refreah the sandbox these packages should be available  in the sandbox which is refreshed after the installation on the production. 

Please find the below artcile where it might not be possible.

https://help.salesforce.com/s/articleView?id=000337821&type=1 (https://help.salesforce.com/s/articleView?id=000337821&type=1)

If this solution helps, Please mark it as best answer.

Thanks,