how to setup a remote project locally and setup:install vs setup: upgrade

Usually when I’m setting up a project from remote server i do the following:

1 get the db dump and put it on my local db 2 composer install

For here all is good but something is confusing me in the next step

Usually my step 3 is bin/Magento setup:install –sompe-param ….

But i sometimes face a lot of issues So today i did setup:update instead

When I navigated to the website it showed me the setup wizard (2.3 version) so i was forced to do setup:install and then it worked

But i tried to set it up from scratch again just to be sure and did directly setup: install on step 3 and started facing so many issues with patches and errors and missing stuff

Anyone can advise how they do the setup locally from an existing project

submitted by /u/Spiritual-warrior
[link] [comments]