A Raycast confetti shell command
- Published at
- Updated at
- Reading time
- 1min
Disclaimer, I didn't come up with the idea of firing the Raycast confetti from the command line.
Josh's tip is too good not to write down, though, because more people need to know about it. And, obviously, shell sessions need more confetti!
But who's Josh? Josh maintains a public TIL repo that I'm following via RSS. He (and I now) learned how to use the Raycast Confetti command from the CLI.
Implementing the command is almost too easy. Here's my new ~/ command.
#!/bin/bash
open raycast://extensions/raycast/raycast/confetti
That's it!
Apparently, Raycast registers a protocol handler (raycast://) which you can call from anywhere. Whenever you open this URL (your browser works fine, too), the Raycast "confetti" command will be triggered. Magic!
Join 6.1k readers and learn something new every week with Web Weekly.


