💻Operation on MacOS (CLI)
Last updated
Last updated
🚨Important Note🚨
If you have participated in Herschel testnet earlier, you need to mannually clear previous node data. Otherwise the node will not be able to start. 🚨
If you have never operated Titan node before, just follow the steps below.
The Releases section on our GitHub is the best place to get the latest binary releases and view the source code.
Open Terminal, change the directory to the download folder, and execute the following command to extract:
Use the following command to enter the extracted folder
Copy titan-edge
executable to the system directory /usr/local/bin
, so that it can be executed at any location
Execute the following command to obtain the current directory and keep this path
Assume the path is x
henthforth
(permanent solution)
Add libgoworkerd.dylib
after the path
If the path obtained from the last step is x
, the complete path would be x/libgoworkerd.dylib
.
Update the dynamic library path in the titan-edge
executable
Use the following command to replace the path with the actual path
(ad hoc solution)
If you just want to run an ad hoc test, you can follow the step below
Set the dynamic library path environment variable
Set the environment variable DYLD_LIBRARY_PATH
as the current path:
Notes
Permission: when executing
sudo
command, you need the administrator passwordPath correctness: ensure the path you entered is correct to avoid the problem of file not found
Environment variable: the environment variable set using the ad hoc solution will be effective in the current session, so you need to repeat this step after restarting the terminal.
Replace your-hash-here with the obtained identification code