Setting up Gemini-CLI
sudo apt install npm
node -v
npm -v
npm install -g @google/gemini-cli (this failed as I did not have sudo)
sudo npm install -g @google/gemini-cli
gemini --version ( failure)
To the drawing board.
sudo apt remove npm
It seems not the latest version of NPM was installed.
sudo apt update && sudo apt install curl git -y
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install --lts
nvm use --lts
node -v
npm -v
gemini
ctrl-c
mkdir gemini-project
cd gemini-project
gemini