Code Monkey home page Code Monkey logo

frontend-tools's Introduction

frontend-tools

nvm

nvm --help				# 查看帮助说明
nvm list				# 列出所有node版本
nvm install v11.14.0    # 安装node版本
nvm use 10.15.1		# 使用10.15.1版本的node

npm

# 设置淘宝源
npm config set registry https://registry.npm.taobao.org
# 设置公司的源
npm config set registry http://127.0.0.1:4873
# 查看源,可以看到设置过的所有的源
npm config get registry

npm install -g cnpm --registry=https://registry.npm.taobao.org     # 安装cnpm
npm install -g @vue/cli
npm install -g @vue/[email protected]
npm install -g @vue/[email protected]

yarn

yarn --help
yarn -v
yarn config get registry    # 默认的源 https://registry.yarnpkg.com
yarn config set registry 'https://registry.npm.taobao.org/'
yarn global add @vue/cli

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.