- Python 3.10 or later
pip21.0 or greatersetuptools68.0 or greater
The recommended way to install the GreenNode CLI is to use pip in a virtualenv:
python -m pip install grnclior, if you are not installing in a virtualenv, to install globally:
sudo python -m pip install grnclior for your user:
python -m pip install --user grncliIf you have the grncli package installed and want to upgrade to the latest version:
python -m pip install --upgrade grncligit clone https://github.com/vngcloud/greennode-cli.git
cd greennode-cli
python -m pip install .To install with development dependencies:
python -m pip install -e ".[dev]"On Linux and macOS, the GreenNode CLI can be installed using a standalone installer that creates an isolated virtualenv:
./scripts/installThis installs to ~/.local/lib/GreenNode and symlinks grn to ~/.local/bin/. Make sure ~/.local/bin is in your PATH.
For environments without internet access, you can build a self-contained bundle:
# On a machine with internet access
./scripts/make-bundle
# Transfer dist/grncli-bundle.zip to target machine, then:
unzip grncli-bundle.zip
cd grncli-bundle
./install-offlinegrn --version
# grn-cli/0.1.0 Python/3.13.5 Darwin/25.2.0