I'm studding magento course and I'm confusing how should I install magento to develop my own shop, modules?
Should I use composer, develop my modules at app/code/modules or should I clone repository? I'm talking about dev project. For production I have server with full access and there I will install via composer and then will add new modules, yes?
You can use any of the installation methods.
If you are looking to control what components are installed you would go with the composer method.
If you do not need full control over components installed you can use the simple method which is uploading the files via FTP and running the Web Installer.
You can find the Magento doc on this here.
I mean how should I install magento for develop my e-commerce? Write custom modules, theme, etc.
I'm watching magento courses (MagentoU) and there all examples are presenting for magento installing by clone repository. It's good for develop or it's only for course?