I just tested and it worked
Using apt to prepare packages for "Ubuntu" system
Updating system packages...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <email@example.com>
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <firstname.lastname@example.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Installing missing prerequisite packages, if any..
Creating Folder Structure ..
Environment Variable already set up!
IOG fork of libsodium installed to /usr/local/lib/
previous CNCLI installation found, pulling latest version from GitHub...
installed version: v3.1.4 | latest version: v4.0.4
updating RUST if needed...
building CNCLI v4.0.4 ...
cncli 4.0.4 installed!