Edge Node CLI
Installing Subnet Edge Node (non-GUI version)
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.
Table of Contents
1. Using Prebuilt Binaries
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.
Steps to Install and Run
Download the Prebuilt Binary
Go to the Releases Page.
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
withsubnet-darwin-amd64
. For Windows, no additional steps are needed if you run the.exe
file directly.Verify the Installation
Initialize the Configuration
Follow the Initializing Configuration section.
2. Building from Source
If you prefer to build Subnet from source, follow these steps:
Prerequisites
Golang: Version 1.19 or higher (Install Go).
Git: Version control system.
Steps to Build
Clone the repository:
Build the source code:
Verify the build:
3. Initializing Configuration
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
:
4. Running the Subnet Node
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:
5. Development Status and Known Issues
Current Status
Active Development: Subnet is currently in the alpha stage and under heavy development.
Breaking Changes: APIs, configurations, and network protocols may change without notice.
Known Issues
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.
6. Feedback and Contribution
We value your feedback to improve Subnet. If you encounter issues or have suggestions, please:
Open an issue on our GitHub Repository.
Join discussions and share ideas in the Community Forum.
For contributing to Subnet, refer to CONTRIBUTING.md.
License
This project is licensed under the MIT License.
Last updated