Use this method if you are new to Voi and want to set up a new node. During the process, you will be asked for a few details to set up your node, and where we have automated as much as possible.
To set up a new Voi node, run the following command:
/bin/bash -c "$(curl -fsSL https://get.voi.network/swarm)"
For installing with an existing account or mnemonic, use this method. After installation, update your name and GUID for health rewards if setting up on a new server.
To import your account and set up a new Voi node, run the following command:
export VOINETWORK_IMPORT_ACCOUNT=1
/bin/bash -c "$(curl -fsSL https://get.voi.network/swarm)"
This page contains advanced installation instructions for Voi Network. Most users should use the standard installation method.
Warning
For separate wallet management, install Voi without the wallet setup. This is an advanced feature and not suggested for most users. New user setup or importing an existing account is recommended.
If you want to install Voi without setting up a wallet, and where you manage your keys offline or on other systems, use the VOINETWORK_SKIP_WALLET_SETUP environment variable.
To skip wallet setup, run the following command:
export VOINETWORK_SKIP_WALLET_SETUP=1
/bin/bash -c "$(curl -fsSL https://get.voi.network/swarm)"
Info
This is an advanced feature intended for automation, and is not required before telemetry can be used.
During installation, you will automatically be prompted to set a custom telemetry name if not set already. If you prefer to set a name through the environment, you can do so by setting the VOINETWORK_TELEMETRY_NAME environment variable to your desired name.
This would typically be done if you are automating the installation process.
export VOINETWORK_TELEMETRY_NAME="my_custom_telemetry_name"
/bin/bash -c "$(curl -fsSL https://get.voi.network/swarm)"
A custom telemetry name can be combined with other environment variables.
Voi Swarm supports joining the mainnet, betanet, or testnet networks. To specify a network during installation, set the VOINETWORK_NETWORK environment variable:
export VOINETWORK_NETWORK=testnet
/bin/bash -c "$(curl -fsSL https://get.voi.network/swarm)"
When joining a new network, you will be prompted to take existing accounts offline. New participation keys will then be generated allowing you to go online on the net network.