Create Your First Extension
Learn how to build your first extension and use it in Raycast.
Open the Create Extension command, name your extension "Hello World" and select the "Detail" template. Pick a parent folder in the Location field and press
Create Extension command in Raycast
Next, you'll need to follow the on-screen instructions to build the extension.
Open your terminal, navigate to your extension directory and run
npm install && npm run dev. Open Raycast, and you'll notice your extension at the top of the root search. Press
↵to open it.
Your first extension
To make changes to your extension, open the
./src/index.tsxfile in your extension directory, change the
markdowntext and save it. Then, open your command in Raycast again and see your changes.
Now, you can press
Cin your terminal to stop
npm run dev. The extension stays in Raycast, and you can find its commands in the root when searching for the extension name "Hello World" or the command name "Render Markdown".
Find your extension in the root search
🎉 Congratulations! You built your first extension. Off to many more.