Skip to content

Instantly share code, notes, and snippets.

@Ynng
Created June 19, 2023 18:08
Show Gist options
  • Save Ynng/09545cbffe76bcfc8cf8015e288daed6 to your computer and use it in GitHub Desktop.
Save Ynng/09545cbffe76bcfc8cf8015e288daed6 to your computer and use it in GitHub Desktop.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc
source ~/.bashrc
nvm install node
npm install -g @githubnext/github-copilot-cli
echo 'eval "$(github-copilot-cli alias -- "$0")"' >> ~/.bashrc
source ~/.bashrc
github-copilot-cli auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment