Raycast
Back to Productivity
RaycastIntermediate16 min

Raycast Extension Development Tutorial: Build and Publish with TypeScript and React

Building Raycast Extensions

Raycast extension development tutorial. Build a TypeScript and React extension from scratch — API integration, custom list UI, actions, and publishing to the Raycast store.

Raycast replaces Spotlight with a command bar that runs scripts, manages clipboard, controls windows, and even does AI — all from one hotkey.

By the end of this 16 min guide, you'll have a working Raycast setup and practical Raycast workflows you can use immediately.

Node.js & React Environment Setup

Install Raycast:

Download from raycast.com
Tip: Verify the installation with raycast --version or raycast -V after installing.

Your First Command Component

Configure Raycast extensions in Settings. Script commands live in a directory you specify — any executable shell script with the right header becomes a searchable command.

Here's a foundational configuration to start with:

#!/bin/bash
# @raycast.title My Command
# @raycast.mode compact
echo "Hello from Raycast!"

Forms & UI Components

With Raycast configured, these Raycast-specific workflows will save you time every day:

Pro tip: Don't try to adopt everything at once. Start with Hyper+Space open Raycast and add more as it becomes habit.

API Calls & Deeplinks

Once you're comfortable with Raycast basics, these advanced techniques will transform your Raycast workflow:

Build, Lint & Type Errors

Here are the most common Raycast issues and how to fix them:

Publishing to the Store

Congratulations — you now have a solid Raycast foundation. Here's where to go next:

← PreviousNeovim LSP Setup Guide: Autocomplete, Diagnostics, and Code Intelligence in TerminalNext →ripgrep (rg) Tutorial: Fast Codebase Search with Regex Patterns and File Filters