SuperCmd makes it easy to install community extensions from the Raycast extension registry.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SuperCmdLabs/SuperCmd/llms.txt
Use this file to discover all available pages before exploring further.
Installation Process
When you install an extension, SuperCmd performs several steps automatically:Fetch Extension
SuperCmd uses Git sparse-checkout to download only the specific extension directory from the Raycast Extensions repository.
Validate Platform Compatibility
SuperCmd checks if the extension supports your platform (macOS, Windows, or Linux).
Copy to Extensions Directory
The extension is copied to
~/Library/Application Support/SuperCmd/extensions/ (or the equivalent on Windows/Linux).Install Dependencies
SuperCmd installs npm dependencies, excluding
@raycast/api packages which are provided by the compatibility shim.Pre-building commands at install time ensures extensions launch instantly when you run them.
Where Extensions Are Stored
Extensions are installed in platform-specific locations:- macOS:
~/Library/Application Support/SuperCmd/extensions/ - Windows:
%APPDATA%/SuperCmd/extensions/ - Linux:
~/.config/SuperCmd/extensions/
Dependency Installation
SuperCmd handles npm dependencies intelligently:Third-Party Dependencies
Normal npm packages are installed as usual:Raycast API Packages
Packages starting with@raycast/ are not installed because SuperCmd provides them via the compatibility shim:
@raycast/api
Provided by
src/renderer/src/raycast-api/index.tsx@raycast/utils
Hooks and utilities implemented in
src/renderer/src/raycast-api/hooks/Fallback Strategy
If explicit dependency installation fails, SuperCmd falls back to a full npm install:Git Setup Requirements
SuperCmd requires Git to install extensions. If Git is not found, SuperCmd will:Attempt Auto-Install (macOS)
On macOS, SuperCmd can automatically install Git via Homebrew if available:
Network Fallback
If Git is not available, SuperCmd can fall back to HTTP-based installation:Update Strategy
When updating an extension, SuperCmd:- Backs up existing installation to a timestamped directory
- Downloads new version using the same installation process
- Removes backup if update succeeds
- Rolls back if update fails
If an extension update fails, SuperCmd automatically restores the previous version from backup.
Command Pre-building
All commands are built at install time using esbuild:Entry File Resolution
SuperCmd tries multiple paths to find command entry files:Installation Troubleshooting
Git not found
Git not found
Install Git via Homebrew (
brew install git) or download from git-scm.comnpm not found
npm not found
SuperCmd searches for npm in common locations (nvm, volta, fnm, Homebrew). Install Node.js from nodejs.org
Build failed
Build failed
Check that the extension’s dependencies installed correctly. Try reinstalling the extension.
Platform incompatible
Platform incompatible
The extension doesn’t support your operating system. Check the extension’s documentation for platform requirements.
Next Steps
Managing Extensions
Learn how to manage and configure installed extensions
Compatibility
Check which Raycast APIs are supported