Edge Node CLI
Last updated
Last updated
This document provides instructions to install and run Subnet, whether you are building it from source or using prebuilt binaries. Note that this project is currently under development, and breaking changes may occur.
We provide prebuilt binaries for major platforms (Linux, macOS, and Windows). You can download the binary for your system and start using Subnet without building it from source.
Download the Prebuilt Binary
Download the binary for your operating system:
Linux: subnet-linux-amd64
macOS: subnet-darwin-amd64
Windows: subnet-windows-amd64.exe
Make the Binary Executable (Linux/macOS)
Move the Binary to Your PATH
For macOS, replace subnet-linux-amd64
with subnet-darwin-amd64
. For Windows, no additional steps are needed if you run the .exe
file directly.
Verify the Installation
Initialize the Configuration
If you prefer to build Subnet from source, follow these steps:
Git: Version control system.
Clone the repository:
Build the source code:
Verify the build:
Before running the Subnet node, you must initialize its configuration.
Run the Initialization Command
Verify the Configuration
Check the generated file at ~/.subnet/config.yaml
:
Once the configuration is initialized, you can start the Subnet node.
Start the Node
Connect to Bootstrap Peers
If you need to connect to a bootstrap node manually:
Monitor Logs
Observe logs for connections and resource discovery:
Active Development: Subnet is currently in the alpha stage and under heavy development.
Breaking Changes: APIs, configurations, and network protocols may change without notice.
Peer Connection Failures:
NAT traversal issues may occur in certain network environments.
Temporary fix: Ensure ports are forwarded manually or run on public networks.
Incomplete Features:
Resource management and discovery are being actively developed.
Stability:
The system may become unstable under heavy load or high peer counts.
We value your feedback to improve Subnet. If you encounter issues or have suggestions, please:
Go to the .
Follow the section.
Golang: Version 1.19 or higher ().
Open an issue on our .
Join discussions and share ideas in the .
For contributing to Subnet, refer to .
This project is licensed under the .