How can you install Magento extensions in 2 ways?

Magento extensions or modules extend the default Magento functionality and implement new valuable features. 

Automatic categories, image optimization, customized order grid, SEO-optimized blog, and many others must have Magento 2 extensions to optimize your website. 

How can you install them in 2 ways? Watch in the video!