Install Swan Client Tool


  • Lotus node


  • install missing packages as required


  • install missing packages as required
  • hwloc, such as
brew install hwloc
  • set path LIBRARY_PATH to point to hwloc, such as
export LIBRARY_PATH=/opt/homebrew/Cellar/hwloc/2.6.0/lib


Option1️⃣ Prebuilt package: See release assets

mkdir swan-client
cd swan-client
wget --no-check-certificate
chmod +x
Option2️⃣ Source Code
🔔go 1.16+ is required
git clone
cd go-swan-client
git checkout <release_branch>

After Installation

  • If you install from the source code, the binary file swan-client is under ./build directory, you need to switch to it.
cd build
  • Before executing, you should check your configuration in ~/.swan/client/config.toml to ensure it is right.
vi ~/.swan/client/config.toml