Installing Extensions
Extensions add functionality to Zed, including languages, themes, debuggers, and AI tools. You can browse and install them from the Extension Gallery.Opening the Extension Gallery
Open the Extension Gallery by:- Using the command palette:
zed: extensions - Menu: Zed > Extensions
- Keyboard shortcut (if configured)
- Installed: Extensions you’ve already installed
- Available: All published extensions in the registry
- Dev Extensions: Locally installed development extensions
Installing Extensions
To install an extension:- Open the Extension Gallery
- Browse or search for the extension you want
- Click the Install button next to the extension
- Wait for the installation to complete
Managing Installed Extensions
In the Extension Gallery, installed extensions show:- Current version number
- Update button (if a newer version is available)
- Uninstall button
Updating Extensions
Extensions can be updated individually:- Open the Extension Gallery
- Find the extension in the Installed tab
- Click Update if available
Uninstalling Extensions
To remove an extension:- Open the Extension Gallery
- Find the extension in the Installed tab
- Click Uninstall
- Confirm the uninstallation
Installation Location
Extensions are stored in platform-specific directories:- macOS:
~/Library/Application Support/Zed/extensions - Linux:
$XDG_DATA_HOME/zed/extensionsor~/.local/share/zed/extensions - Windows:
%LOCALAPPDATA%\Zed\extensions
installed/: Source code for each extensionwork/: Files created by extensions (downloaded language servers, caches, etc.)
Auto-Installing Extensions
You can automatically install extensions when Zed starts by configuring theauto_install_extensions setting.
Configuration
Add extension IDs to yoursettings.json:
true will be:
- Installed if not already present
- Kept installed (won’t be auto-removed)
Uninstalling Auto-Installed Extensions
To automatically uninstall an extension, set its value tofalse:
Dev Extensions
Developers can install local extensions for testing without publishing to the registry.Installing a Dev Extension
- Open the Extension Gallery
- Click Install Dev Extension
- Select the directory containing your extension (must have
extension.toml)
- Override published extensions with the same ID
- Appear in the Dev Extensions section
- Can be uninstalled like regular extensions
- Are rebuilt automatically when files change (requires Rust toolchain)
Extension Updates
Extensions are updated through the Extension Gallery. Zed checks for updates:- On startup
- Periodically while running
- When you manually refresh the Extension Gallery
Extension Permissions
Extensions run with restricted capabilities for security. The default permission set allows:- Downloading files from any host
- Installing npm packages
- Executing commands
Restricting Capabilities
To limit what extensions can do, configuregranted_extension_capabilities:
Troubleshooting
Extension Won’t Install
- Check your internet connection
- Look for error messages in the Extension Gallery
- Check the Zed log: Zed > View Logs or
zed: open log
Extension Installed But Not Working
- Check if the extension needs to download additional components (watch the status bar)
- Restart Zed
- Check the extension’s repository for known issues
- Look for errors in the Zed log
Language Server Issues
Many language extensions download language servers on first use:- Open a file of that language type
- Watch the status bar for “Installing [language] language server…”
- Wait for the download to complete
- If it fails, check the Zed log for error details
Getting Help
- Check the extension’s GitHub repository for documentation and issues
- Report issues to the extension maintainer
- For Zed itself, visit github.com/zed-industries/zed/issues
