Installation
Get Dependi up and running in your Zed Editor.
Table of contents
- From Zed Extensions (Recommended)
- Manual Installation (Development)
- Verify Installation
- System Requirements
- What’s Next?
From Zed Extensions (Recommended)
The easiest way to install Dependi:
- Open Zed editor
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Linux/Windows) - Type “extensions” and select
zed: extensions - Search for “Dependi”
- Click Install
The extension automatically downloads and installs the language server for your platform.
Manual Installation (Development)
For development or testing pre-release versions:
Prerequisites
- Rust 1.75+ (tested with 1.91.1)
- wasm32-wasip1 target:
rustup target add wasm32-wasip1
Build Steps
- Clone the repository:
git clone https://github.com/mpiton/zed-dependi.git cd zed-dependi - Build the LSP:
cd dependi-lsp cargo build --release - Build the extension:
cd ../dependi-zed cargo build --release --target wasm32-wasip1 - Install as dev extension in Zed:
- Open Zed
- Run command:
zed: install dev extension - Select the
dependi-zeddirectory
Verify Installation
After installation, open any supported dependency file to verify Dependi is working:
- Open a
Cargo.toml,package.json, or other dependency file - You should see inlay hints next to your dependencies showing version status
- Hover over a dependency to see package information
If you don’t see hints:
- Check if the extension is enabled in Zed’s extensions panel
- View Zed logs for errors: run
zed --foregroundfrom terminal - See Troubleshooting for common issues
System Requirements
Supported Platforms
| Platform | Architecture | Status |
|---|---|---|
| Linux | x86_64 | Supported |
| Linux | aarch64 | Supported |
| macOS | x86_64 (Intel) | Supported |
| macOS | aarch64 (Apple Silicon) | Supported |
| Windows | x86_64 | Supported |
Network Requirements
Dependi needs network access to package registries and the vulnerability database:
| Service | URL | Purpose |
|---|---|---|
| crates.io | https://crates.io |
Rust packages (+ your alternative registry URLs) |
| npm | https://registry.npmjs.org |
Node.js packages |
| PyPI | https://pypi.org |
Python packages |
| Go Proxy | https://proxy.golang.org |
Go modules |
| Packagist | https://packagist.org |
PHP packages |
| pub.dev | https://pub.dev |
Dart packages |
| NuGet | https://api.nuget.org |
.NET packages |
| RubyGems | https://rubygems.org |
Ruby gems |
| OSV.dev | https://api.osv.dev |
Vulnerability data |
If you’re behind a corporate firewall, ensure these URLs are allowed.
What’s Next?
- Configure Dependi to customize behavior
- Learn about Features available
- Set up Private Registries for enterprise packages