This project is an unofficial Windows CLI for Zed (built from source). It provides all basic features:
- Launching Zed (
zed) - Launching & Managing mulitple instance of zed
- Opening directories or projects with
zed <path> - Adding an 'Open with Zed' context menu integration.
| Command | Description | Example |
|---|---|---|
zed |
Open Zed with last project | zed |
zed . |
Open current directory | zed . |
zed <path> |
Open specific file or directory | zed C:\projects\my-app |
zed config get |
Get current Zed executable path | zed config get |
zed config set <path> |
Set Zed executable path | zed config set "C:\Zed\zed.exe" |
zed context install |
Install "Open with Zed" context menu | zed context install |
zed context uninstall |
Remove "Open with Zed" context menu | zed context uninstall |
Note
Use zed context install to add "Open with Zed" to your Windows context menu for easy right-click access. By default, it's not installed.
When opening a non-existent path, the CLI automatically creates the required directories before launching Zed:
zed D:\projects\monkeypressIn this example, if monkeypress doesn't exist but D:\projects\ does, the CLI will:
- Create the
monkeypressdirectory underD:\projects\ - Open the newly created directory in Zed
Important: This CLI cannot open multiple Zed windows if Zed is already running — but only when using Zed versions below v0.177.0. This limitation exists because:
- The CLI is unofficial and not integrated with Zed’s internal systems
- It does not have access to Zed’s IPC (Inter-Process Communication), which handles multi-instance support in official workflows
If you're using an older version and attempt to open a new project while Zed is running, the CLI will notify you about this limitation.
Note
This limitation does not apply to Zed versions v0.177.0 and above.
Recommended installation methods in order of preference:
Running the native PowerShell scripts will handle everything related to setting up environment variables on your system.
Download and run the installation script for the Unofficial Zed CLI:
irm https://raw.githubusercontent.com/SameerJS6/zed-cli-win-unofficial/refs/heads/main/scripts/release/install-wrapper.ps1 | iexInstall both Zed (Unofficial Build) and the Unofficial CLI with zero setup. This script handles everything automatically:
irm https://raw.githubusercontent.com/SameerJS6/zed-cli-win-unofficial/refs/heads/main/scripts/release/install-with-zed-wrapper.ps1 | iexNote
Installing via this method will place Zed and the Unofficial Zed CLI in their default directories.
%LOCALAPPDATA%\Programs\Zed%LOCALAPPDATA%\zed-cli-win-unofficialInstall using Scoop for easy updates and management:
scoop bucket add zed-cli-unofficial https://github.com/SameerJS6/zed-cli-win-unofficialscoop install zed-cli-unofficial/zed-cli-win-unofficial✅ That’s it! You can now launch and use zed from any terminal window.
Tip
If you don't have Scoop installed, run the following commands in PowerShell to install it:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-ExpressionA Chocolatey package for zed-cli-win-unofficial is coming soon.
Download and install manually from the GitHub releases page:
- Visit the Releases page.
- Download the
windows-x86_64.zipasset. - Extract to a folder of your choosing (default:
%LOCALAPPDATA%\zed-cli-win-unofficial). - Update your user
PATHto include that folder (choose one method below):
PowerShell (CLI)
$path = "$env:LOCALAPPDATA\zed-cli-win-unofficial"
[Environment]::SetEnvironmentVariable('PATH', $env:PATH + ';' + $path, 'User')GUI
- Press Win, type "Environment Variables", and open "Edit user environment variables".
- Go
Advancedtab and click onEnvironment Variables, now a pop up will appear. - Under "User variables", select "Path" → click "Edit" → click "New".
- Paste
%LOCALAPPDATA%\zed-cli-win-unofficialand click "OK" on all dialogs.
If you have PowerToys installed, you can use the PowerToys Environment Variables tool to manage your variables more easily.
Common Pitfalls
- Unblock the downloaded ZIP if prompted (Right-click → Properties → Unblock).
- Verify both
zed-cli-win-unofficial.exeandzed.batare present. - Restart your terminal after updating the
PATH.
This project is an unofficial Windows CLI launcher for Zed. It is not affiliated with or endorsed by the Zed team.
This project is licensed under the MIT License. See the LICENSE file for details.


