Skip to content

For Front-End Mac Developers #2

@turnerguo

Description

@turnerguo

NVM

Strongly recommend you use NVM to manage node versions, since sometime we really need more node versions to deal with different projects.

export NVM_NODEJS_ORG_MIRROR="https://npm.taobao.org/mirrors/node"
export NODEJS_ORG_MIRROR="https://npm.taobao.org/mirrors/node"

NPM

Set global npm repo and some tools repo, if you are inside of the GFW:

$ npm config set registry https://registry.npm.taobao.org/
$ npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/

Yarn

A new node package manage tool made by Facebook, you can also use yarn instead of npm or as you like.

Homebrew

The missing package manager for macOS

For [GFW]:

Git

git-submodule

Some case we use submodule to manage components in different projects, read this before you start using submodule since it has some dark place:

Magic Web

Connect to the world!

iTerm2

A good replacement for mac terminal.

oh-my-zsh

As a developer, you have to know this.
awesome-zsh-plugins
zsh-users this almost enough.

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# edit ~/.zshrc, add `plugins=(git z zsh-syntax-highlighting zsh-autosuggestions)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions