magento2 – problem installing magento 2 on the server

guys I installed magento 2 on the server, and after that I removed it because it was in a different version than the one I should install. And I removed it using the command rm -rf ‘project’. However when I went to install again using the command:

“composer create-project –repository = https: // magento / project-community-edition = 2.3.5-p2”.

He returned an error called “killed”

Updating dependencies (including require-dev) Killed

What can I do to fix it?