We assume that composer is already installed. If not installed we need to install the composer using this link.
Step 1. Login to the server using the ssh.
Step 2. Run the following commands:
composer require drupal/webform
It will download and install the webform module and will show the following:
Please note that post installation it will ask you to install some additional modules. We can go ahead and install them.
Step 3: Run the following drush commands to enable the installed modules. (If Drush is not installed run composer require drush/drush)
Step 4: Now you are ready to create your webform.
If you want to learn how to create Drupal webforms? You can send us email or request for a blog post.