Package a WSP
Right click your project in the right column. Then click “Publish”.
A dialog will open, where you will get to choose where to place the resulting .wsp file. After clicking “Publish” your project will be build and then packaged in the selected location.
Make sure to have the Solution configuration set to Release when building for production.
Install the resulting WSP
Copy the .wsp to the server
Open an elevated SharePoint Management shell
Run Add-SPSolution -literalpath “C:\Linktowsp\wspname.wsp”
Run Install-SPSolution -identity “wspname.wsp” (here you might need to add -gacdeployment and -webapplication (or -allwebapplications) parameters depending on the content of your solution)