Skip to content

One-liner install for sendme with PowerShell #84

@neuralpain

Description

@neuralpain

This is a one-liner command I created to install sendme on Windows when I found out Windows was marked as unsupported in the official sendme.sh install script. Just thought I'd share for those who may be interested.

iwr -Uri ($(irm -Uri "https://api.github.com/repos/n0-computer/sendme/releases/latest").assets | where {$_.name -like "*windows-x86_64*"} | Select-Object -ExpandProperty browser_download_url) -OutFile "$env:TEMP\sendme.zip"; Expand-Archive -Path "$env:TEMP\sendme.zip" -DestinationPath "C:\Windows\" -Force

Generally, the install path would be set to C:\Windows\ by default (since it's already on PATH) so that you would be able to access sendme from the command-line. Alternatively, users can create a different folder, for example: C:\path\to\sendme\ and add that to their system's PATH variable to access sendme from the command-line.

If this is useful, maybe it can be added to the documentation in some way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions