Installation
Get Depsy up and running in your Zed Editor.
Table of contents
- From Zed Extensions (Recommended)
- Offline / Air-Gapped Installation
- Manual Installation (Development)
- Verify Installation
- System Requirements
- What’s Next?
From Zed Extensions (Recommended)
The easiest way to install Depsy:
- Open Zed editor
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Linux/Windows) - Type “extensions” and select
zed: extensions - Search for “Depsy”
- Click Install
The extension automatically downloads and installs the language server for your platform.
The download happens once per extension version, from https://github.com/mpiton/zed-depsy/releases: the extension installs the language-server release that matches its own version. Later start-ups use the binary already on disk and make no network request.
Offline / Air-Gapped Installation
When Zed cannot reach github.com (corporate proxy, air-gapped machine), two options:
- Keep an earlier download. If an earlier extension version already downloaded a language server, the extension starts that one and prints a line on stderr (
zed --foreground) saying which. Nothing to configure. -
Provide the binary yourself. Download the archive for your platform from the releases page, or build it with
cargo build --releaseindepsy-lsp/, copy the binary onto the machine and point Zed at it insettings.json:{ "lsp": { "depsy": { "binary": { "path": "/opt/depsy/depsy-lsp" } } } }Zed then starts that binary directly and never asks the extension to download anything. Keeping it in step with the extension version is up to you.
Downloaded binaries live in Zed’s extension work directory: ~/.local/share/zed/extensions/work/depsy-lsp/ on Linux, ~/Library/Application Support/Zed/extensions/work/depsy-lsp/ on macOS, %LOCALAPPDATA%\Zed\extensions\work\depsy-lsp\ on Windows.
Manual Installation (Development)
For development or testing pre-release versions:
Prerequisites
- Rust 1.94+ (edition 2024)
- wasm32-wasip1 target:
rustup target add wasm32-wasip1
Build Steps
- Clone the repository:
git clone https://github.com/mpiton/zed-depsy.git cd zed-depsy - Build the LSP:
cd depsy-lsp cargo build --release - Build the extension:
cd ../depsy-zed cargo build --release --target wasm32-wasip1 - Install as dev extension in Zed:
- Open Zed
- Run command:
zed: install dev extension - Select the
depsy-zeddirectory
Verify Installation
After installation, open any supported dependency file to verify Depsy 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
Depsy 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 |
| GitHub | https://github.com, https://release-assets.githubusercontent.com |
Language server download, once per extension version |
If you’re behind a corporate firewall, ensure these URLs are allowed. If only github.com is blocked, see Offline / Air-Gapped Installation.
What’s Next?
- Configure Depsy to customize behavior
- Learn about Features available
- Set up Private Registries for enterprise packages