I want to install a plugin for development, what should I do?

Make sure you are really using a git repository URL like GitHub - paviliondev/discourse-ratings: A Discourse plugin that lets you use topics to rate things · GitHub
If you follow Install Discourse for development using Docker to start developing, you don’t have to restart docker, just go into the discourse folder and call ./bin/docker/unicorn to start server or Ctrl + C to stop.