To run Greasemonkey scripts in Chrome or Edge, you can use a browser extension. Tampermonkey is a well-regarded and popular extension that provides this functionality. Once you have installed the extension, Greasemonkey scripts can be installed from various sources, including user script repositories like Greasy Fork. The script will be automatically executed when you visit the relevant pages once you have installed it.