Skip to content

Instantly share code, notes, and snippets.

@cohalz
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save cohalz/8b1f9b5273640cd5b531 to your computer and use it in GitHub Desktop.

Select an option

Save cohalz/8b1f9b5273640cd5b531 to your computer and use it in GitHub Desktop.

Mac

echo "export HOMEBREW_CASK_OPTS="--appdir=/Applications"" >> .bash_profile
echo "export HOMEBREW_CASK_OPTS="--appdir=/Applications"" >> .zprofile
xcode-select --install  
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  
brew tap phinze/cask  
brew install brew-cask  
brew cask install atom  
apm install atom-lint  
apm install linter-clang
apm install autocomplete-plus
apm install file-icons

一・二行目でインストール場所を~/Applicationsから/Applicationsに変更

Ubuntuとか

sudo apt-get install git
sudo apt-get install clang
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
apm install atom-lint  
apm install linter-clang
apm install autocomplete-plus
apm install file-icons

atomコマンドで起動

何か関数名とかifとかforとかって書いたあとにTab押すとめっちゃいい感じに展開してくれる(移動もTab)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment