Comment on page
Publish an Extension
Learn how to share your extension with our community.
Open your terminal, navigate to your extension directory, and run
npm run buildto verify your extension. The command should complete without any errors.
To share your extension with others, navigate to your extension directory, and run
npm run publishto publish your extension. You will be asked to authenticate with GitHub because the script will automatically open a pull request in our repository.
If someone contributes to your extension, running
npm run publishwill fail until you run
npx @raycast/api@latest pull-contributions
in your git repository. This will merge the contributions with your code, asking you to fix the conflicts if any.
Once the pull request is opened, you can continue pushing more commits to it by running
npm run publishagain.
If you want more control over the publishing process, you can manually do what
npm run publishdoes. You need to open a pull request in our repository. For this, fork our repository, add your extension to your fork, push your changes, and open a pull request via the GitHub web interface into our
After you opened a pull request, we'll review your extension and request changes when required. Once accepted, the pull request is merged and your extension will be automatically published to the Raycast Store.
Once your extension is published in the Raycast Store, you can share it with our community. Open the Manage Extensions command, search for your extension and press
.to copy the link.
Manage your extensions