1. Click the magnifying glass in the top right corner of your Mac computer.
2. Type Terminal.
3. Click ENTER.
4. Type the following command:
cd ~/library/nodes
5. Paste the following command making sure there are no spaces at the end:
bash <(curl -s https://download.elementunited.com/node-binaries/v2.6.1-b/mac.sh)
6. For username, type the email connected to your Element account and click ENTER.
7. For password, type the password connected to your Element account and click ENTER.
8. For node name, type a name to identify this instance and click ENTER. For example, "ElementSmartNode1".
9. If the setup was successful, you will receive the following message: “Element configuration complete!”
10. You can now close the terminal prompt.
Check the status of your node through the Element United web app (website).
After installation, you can check the status of your Element node at any time by logging into the Element Dashboard and viewing the "Nodes Online" within the Node tab selected from the menu on the left. Node status can also be monitored by checking the node software installed on your computer.
Check the status of your node through a Mac terminal prompt:
1. Click the magnifying glass in the top right corner of your Mac computer.
2. Type Terminal.
3. Click ENTER.
4. Type the following command:
launchctl print gui/$UID/element | grep 'active count'
5. This will display “active node count = 1”.
To uninstall your node through a Mac terminal prompt:
1. Click the magnifying glass in the top right corner of your Mac computer.
2. Type Terminal.
3. Click ENTER.
4. Type the following command:
cd ~/library/nodes
5. Click ENTER.
6. Type the following command:
launchctl stop element
7. Click ENTER.
8. Type the following command:
launchctl remove element
9. Click ENTER.
10. Type the following command:
launchctl rm element-node
11. Click ENTER.
To check which node software is running through a Mac terminal prompt:
1. Click the magnifying glass in the top right corner of your computer.
2. Type Terminal.
3. Click ENTER.
4. Type the following command:
cd ~/library/nodes
5. Click ENTER.
6. Type the following command:
ls
7. Click ENTER.
8. This will list the brand name for the node instance you are running.
Troubleshooting Tips:
1. If you receive an error that says:
Error: failed response from server, code: 4
Resolution: 2FA needs to be disabled and then you can continue to set up your node making sure to then re-enable your 2FA.
2. If you had previously downloaded the Soft Node Client software, you may need to go through the uninstall steps before deploying your software with the bash command.