Skip to main content
SuperCmd makes it easy to install community extensions from the Raycast extension registry.

Installation Process

When you install an extension, SuperCmd performs several steps automatically:
1

Fetch Extension

SuperCmd uses Git sparse-checkout to download only the specific extension directory from the Raycast Extensions repository.
2

Validate Platform Compatibility

SuperCmd checks if the extension supports your platform (macOS, Windows, or Linux).
3

Copy to Extensions Directory

The extension is copied to ~/Library/Application Support/SuperCmd/extensions/ (or the equivalent on Windows/Linux).
4

Install Dependencies

SuperCmd installs npm dependencies, excluding @raycast/api packages which are provided by the compatibility shim.
5

Pre-build Commands

All extension commands are bundled using esbuild for instant execution.
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/
Each extension has its own directory containing:

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:
1

Detect Git Availability

Check common Git installation paths (Homebrew, system, etc.)
2

Attempt Auto-Install (macOS)

On macOS, SuperCmd can automatically install Git via Homebrew if available:
3

Show Setup Dialog

If auto-install fails or Homebrew is not available, show installation instructions
On macOS, you may be prompted to install Xcode Command Line Tools if Git is not already installed.

Network Fallback

If Git is not available, SuperCmd can fall back to HTTP-based installation:

Update Strategy

When updating an extension, SuperCmd:
  1. Backs up existing installation to a timestamped directory
  2. Downloads new version using the same installation process
  3. Removes backup if update succeeds
  4. 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

Install Git via Homebrew (brew install git) or download from git-scm.com
SuperCmd searches for npm in common locations (nvm, volta, fnm, Homebrew). Install Node.js from nodejs.org
Check that the extension’s dependencies installed correctly. Try reinstalling the extension.
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