I’m new to homebrew. Why is there no ghostview?
https://formulae.brew.sh/ has all the info about formula. If ghostview isn’t there it’s because nobody cared enough to make it available yet. You could be the one that does that though, following the docs at docs.brew.sh should help you get started.