Skip to content

Instantly share code, notes, and snippets.

@sgnl
Last active November 18, 2023 01:36
Show Gist options
  • Save sgnl/8ace78e10b5de206093e to your computer and use it in GitHub Desktop.
Save sgnl/8ace78e10b5de206093e to your computer and use it in GitHub Desktop.
Dev league Day 0 Installfest

Install Fest

If you have already installed any of these programs before, then you may skip it.

iTerm2(osx)

  • Linux flavors can use instead use the Terminal application that comes installed.

Scroll to the bottom of the page and find the install code for your operating system:

  • OSX: follow the instructions in the via curl tab
  • Linux: follow the instructions in the via curl tab
    • additional: install the git-core package though apt-get: sudo apt-get install git-core

Change your theme

  • OSX: run the command: vi ~/.zshrc
  • Ubuntu: run the command: nano ~/.zshrc

Move your cursor down with the J key and L to move right. (also, H is left, and K is Up). YOUR MOUSE WILL NOT WORK

In your .zshrc file, using the movement keys the line with the code ZSH_THEME and change it to ZSH_THEME="pygmalion"

Press i to go into insert mode to make changes. When ready to save and exit, press ESC to leave Insert Mode and go back to Command Mode. Now you can move around again with the movement keys.

Useful plugins

With the .zshrc file still open in vi, find the line with the code plugins and change it to look like the line below, order doesn't matter:

plugins=(osx git npm brew github node sublime)

Enabling some helpful aliases

find the code near the bottom of the .zshrc file:

# Example aliases
# alias zshconfig="subl ~/.zshrc"
# alias ohmyzsh="subl ~/.oh-my-zsh"

change to:

# Example aliases
alias zshconfig="subl ~/.zshrc"
alias ohmyzsh="subl ~/.oh-my-zsh"

Save and reload your configuration

While in Command Mode (press ESC key a few times to make sure you are in Command Mode), press the : key then type x and hit enter. You have now saved and exited the vi program.

Type the command: source ~/.zshrc into your terminal to reload the configuration file.

Install Node through Homebrew

run the command brew install nodejs (this will give us the NPM command which we will use later in this doc)

If you have Sublime Text 2 installed, then remove it and install 3. Version 3 is still free and has many helpful packages that Version 2 does not.

Package control is a Package Manager to manage Sublime Text Plugins.

@sgnl
Copy link
Author

sgnl commented Jun 16, 2016

UBUNTU/DEBIAN INSTALLING NODEJS

  1. Fixing "node: no command found"-like errors
  2. using n package to avoid having to symlink /usr/local/bin/nodejs to /usr/local/bin/node` on day one:
sudo apt-get install nodejs npm
sudo npm i -g n
sudo n stable
sudo npm i -g npm

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