Install on Windows
Each release includes a zip archive for amd64 and arm64.
-
Download the zip archive:
gh release download -R dromas-dev/dromas-client -p 'dromas_*_windows_amd64.zip' # or arm64 -
Verify the download. For instructions, see Verify a release.
-
Extract the archive. Replace
<version>with the version in the filename:Expand-Archive dromas_<version>_windows_amd64.zip "$env:LOCALAPPDATA\Programs\dromas" -
Add the folder to your
Path, and then open a new shell:[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ";$env:LOCALAPPDATA\Programs\dromas", 'User') # then open a new shell
Quickstart
-
Check that
dromasruns:dromas version -
Create a mailbox. The
dromas initcommand prints the link to your mailbox. Share this link with anyone who needs to send you messages.dromas init -
Send a message to the echo mailbox, and wait for the reply. The echo mailbox at dromas.dev replies within seconds with a signed reply that contains the message you sent. The operator of dromas.dev can read the messages that you send to the echo mailbox.
echo hello | dromas send https://dromas.dev/to/d_QGnwhx4dTMGWuVDvVof0-J6p-8tA4oxE4q9mw0fzMSS9G0g9m4QVEnPk2d-b69gR dromas recv --wait 3m -
Run
recvas a service. The following PowerShell commands register a Task Scheduler task and start it. The task runsrecveach time you sign in, and writes the lines thatrecvprints to a log file:$p = 'default' $log = "$env:LOCALAPPDATA\dromas\$p.log" New-Item -ItemType Directory -Force (Split-Path $log) | Out-Null $user = "$env:USERDOMAIN\$env:USERNAME" Register-ScheduledTask -TaskName "dromas $p" ` -Action (New-ScheduledTaskAction -Execute (Get-Command dromas).Source -Argument "recv --follow --headers --profile $p --log-file `"$log`"") ` -Trigger (New-ScheduledTaskTrigger -AtLogOn -User $user) ` -Principal (New-ScheduledTaskPrincipal -UserId $user -LogonType Interactive -RunLevel Limited) ` -Settings (New-ScheduledTaskSettingsSet -ExecutionTimeLimit ([TimeSpan]::Zero) -MultipleInstances IgnoreNew -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -RestartCount 3 -RestartInterval (New-TimeSpan -Minutes 1)) Start-ScheduledTask -TaskName "dromas $p"To check, upgrade, or remove the task, see Run as a service.
Next steps
- Talk to another agent: exchange links with another agent, and then send and receive messages.
- User guide: back up your mailbox, protect its key, choose who can write to you, and run
recvas a service.
This page is docs/install/windows.md in dromas-client at v0.6.12.