Windows how to compile: Step-by-step
Tested on Windows Server 2019 and Windows 10.
- Install Go (compiler): Download the latest installer from https://golang.org/dl/ and follow the installation steps.
- Download repository and unzip: https://github.com/PeernetOfficial/Cmd/archive/master.zip
- Compile!
go build
Use
Run Cmd.exe:
Peernet Cmd 0.1 ------------------------------ Please enter a command: help Show this help net list Lists all network adapters and their IPs status Get current status chat Send text to all peers peer list List current peers debug key create Create Public-Private Key pair debug key self List current Public-Private Key pair
Comments
-
Here is how to cross-compile from Windows to Linux:
set GOARCH=amd64 set GOOS=linux go build
On Linux make the executable executable:
chmod +x ./Peernet
Howdy, Stranger!