Skip to content

Instantly share code, notes, and snippets.

@kadikraman
Last active July 13, 2022 14:09
Show Gist options
  • Save kadikraman/b319e98f94569107cb6e87682f9d1f46 to your computer and use it in GitHub Desktop.
Save kadikraman/b319e98f94569107cb6e87682f9d1f46 to your computer and use it in GitHub Desktop.

Add new ssh key for GH

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

ssh-keygen -t ed25519 -C "[email protected]"

Copy it to your clipboard

pbcopy < ~/.ssh/id_ed25519.pub

Add to GH profile https://github.com/settings/keys

Install Homebrew

https://brew.sh/

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Instlall nvm

https://github.com/nvm-sh/nvm#installing-and-updating

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

:q to exit vim after this is done

Find the latest LTS version of Node.js and install it with nvm install, e.g. nvm install 16

https://nodejs.org/en/

Install yarn with npm install --global yarn

M1 stuff

Insall cocoapos with homebrew and it will just work, yay!

brew install cocoapods

Show all files

defaults write com.apple.Finder AppleShowAllFiles true killall Finder

Xcode not picking up node with nvm

sudo ln -s "$(which node)" /usr/local/bin/node 

Android studio not picking up node

Open it from the terminal

open -a /Applications/Android\ Studio.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment