Use the below command line statement:
"%XNAGSv4%\Tools\wp.exe" install "file.xap" "app Id" "GameThumbnail.png" "XapCacheFile.xml" /clean
where the parameters are
wp.exe is the command-line Windows Phone management tool.
file.xap is found in the output directory.
GameThumbnail.png is found in the output directory.
XapCacheFile.xml is found in the intermediate directory.