Effortlessly Share Files with Wormhole: A Guide to Installation and Usage on Windows Server
Wormhole is a command-line tool designed for sending secure, encrypted files and messages across networks. It’s a remarkably effective solution for transferring files swiftly between computers and servers.
In this article, we will guide you through the process of installing Wormhole on your Windows Server and demonstrate how to effectively use it. Before you get started, ensure that you are able to run scripts in PowerShell. If you haven’t enabled this capability, you will need to modify your Windows settings accordingly.
Installing Chocolatey: The Key to Simplified Software Management on Windows Server
While Wormhole can be installed directly, the process isn’t the most user-friendly. That’s where Chocolatey, a powerful package management tool for Windows, comes in. Chocolatey streamlines software installation, making it similar to package managers found on Linux distributions like Ubuntu and Fedora.
To install Chocolatey on your Windows Server, open a PowerShell window and execute the command below:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol=[System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
The installation should complete quickly. Once Chocolatey is set up, close the PowerShell window and open it again to start using this package manager. Type the command below to verify its functionality:
choco
If no output appears, you may need to reinstall Chocolatey.
Installing Wormhole on Windows Server Using Chocolatey
With Chocolatey up and running, installing Wormhole is straightforward. Simply open a new PowerShell window and enter the following command:
choco install magic-wormhole
Upon executing this command, Chocolatey will display messages regarding the installation, similar to the following:
Installing the following packages:
magic-wormhole
By installing, you accept licenses for the packages.
Progress: Downloading magic-wormhole.portable 0.12.0... 100%
magic-wormhole.portable v0.12.0 [Approved]
magic-wormhole.portable package files install completed. Performing other installation steps.
The package magic-wormhole.portable wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint):
Press “A” to allow the script to run, initiating the download and installation of Wormhole on your Windows Server.
Once the installation is complete, check to ensure Wormhole is functioning correctly by executing:
wormhole
If installed successfully, you will see a help output that details all available features within the program.
How to Use Wormhole for File Transfers to Windows Server
Transferring files from another computer to your Windows server using Wormhole is simple. Begin by opening a PowerShell window on the Windows Server. Next, open a terminal (Linux/Mac) or PowerShell window (Windows) on the device you’ll be using to send files.
Navigate to the file you wish to share. For instance, if it’s in the “Downloads” folder, use the cd
command:
On Linux or Mac:
cd ~/Downloads
On Windows:
cd %userprofile%\Downloads
Once you’re in the correct directory, run ls
to list the files and locate the one you want to send. To initiate the transfer, execute:
wormhole send my-file-to-send
Wormhole will provide a “receive” command to be executed on the Windows Server for downloading the file.
How to Receive Files from Windows Server Using Wormhole
If you need to transfer files from your Windows server to another device, simply reverse the previous steps. Use the wormhole send
command on the Windows server and the wormhole receive
command on the receiving device.
By utilizing Wormhole, you can seamlessly send and receive files across your network securely, making it an excellent tool for any IT professional or casual user alike.
For more insightful tech tips, subscribe to our newsletter and stay updated with the latest in technology and software!