Using the AutoNode CLI, you can install or remove nodes that the AutoNode CLI supports.
- To install nodes, enter
install [node1] [node2] - To uninstall nodes, type
uninstall [node1] [node2]
AutoNode CLI supports installing and uninstalling multiple nodes at the same time.
install shardeum lava defund
For a stable installation, you need to run commands through the root user, or a user with root privileges. You can try running with sudo.
Copy and paste into shell:
bash <(curl -s https://gist.githubusercontent.com/sunsetlover36/621038d1976c6e464f539040255bcb04/raw/31e3cd36a37e7f1d288fc8f22ae82cbbcae3846e/setup-autonode-cli.sh)Then, enter the OpenAI API key as requested and choose whether to install Docker (if you have it installed - type n and press Enter, if not - just press Enter).
After installation, type autonode-cli to work with AutoNode CLI.
You must have nodejs version 18 or higher installed.
git clone https://github.com/sunsetlover36/autonode-cli.gitcd autonode-cli.npm install- Rename
.env.exampleto.env. - Add your OpenAI API key to
.env. Example -OPENAI_API_KEY=sk-.... npm run buildnpm run start.
On subsequent runs, simply type npm run start.
OPENAI_API_KEY- OpenAI API keyDISABLE_BUILD_ESSENTIALS- Do not install on first run system packages, Docker, Rust, Node, etc.DISABLE_DOCKER_INSTALLATION- Do not install Docker on first startup
