There are mainly two ways to install any plugin/extensions either it is for use purpose of it is for testing purpose.
- Manually - By placing your plugin into the app/code directory.
But here in your case you have created a plugin yourself - so you will require to install the same manually so go with second approach.
Put your plugin/extension directory with all the files into the app/code directory of your Magento2 setup.
Then run below commands in sequence :
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
Then check your plugin/extension gets installed successfully.
There are few articles available which explain the same - below i am listing few articles links !
Hope it helps !
if issue solved,Click Kudos & Accept as Solution