CubeSat swarm in LEO orbit is an attractive alternative to present-day expensive and bulky satellite-based remote sensing systems. This paper presents the design and optimization rules to achieve omnidirectional, high speed, long-range (more than 100 km) data communication among CubeSats. The unprecedented size, weight, power, and cost constraints imposed by the CubeSat platform and the availability of the commercial-off-the-shelf components are considered in the analyses. Analytical studies related to the scanning mirror-based beam steering system as well as scanning mirror's smallest step angle requirement are presented. In addition, we demonstrate the relations and dependencies among scanning mirror's smallest step angle, laser beam divergence, optics dimensions, communication distance, and scanning area filling efficiency, etc. Furthermore, the optimization challenges of the transmit laser beam size considering the interplay among beam divergence, beam clipping, and scattering are studied in detail. This paper also presents the effect of laser peak power, initial beam size, and communication distance on effective communication beam width to maintain a long-distance (more than 100 km) communication with SNR ≥ 10 dB at a data rate greater than 500 Mb/s.