Last active
August 1, 2025 00:45
-
-
Save alimxk/ad081585b229f026197e60d29954826f to your computer and use it in GitHub Desktop.
Install Code CLIs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Download and install nvm: | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash | |
| # in lieu of restarting the shell | |
| \. "$HOME/.nvm/nvm.sh" | |
| # Download and install Node.js: | |
| nvm install 22 | |
| # Verify the Node.js version: | |
| node -v # Should print "v22.17.1". | |
| nvm current # Should print "v22.17.1". | |
| # Verify npm version: | |
| npm -v # Should print "10.9.2". | |
| npm install -g @anthropic-ai/claude-code | |
| npm install -g @google/gemini-cli | |
| npm install -g @openai/codex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment