Giter VIP home page Giter VIP logo

config's Introduction

Config

准备工作

Install nvm, pyenv, rbenv

nvmpyenvrbenv 分别为 Node.js,Python,Ruby 的版本管理工具,提供了版本下载安装和版本切换的功能,推荐使用这样的版本管理工具来管理 Node.js,Python,Ruby 等开发环境。

Node.js,Python 和 Ruby 是很多开源工具所依赖的环境,最好一开始就将这些环境配置好。当然还有 gcc,g++,make 这样的工具,这些工具在 Unix/Linux 上都是很容易获得的。

java 也有类似的版本管理工具jenv,但它并不提供下载的功能。

macOS

# Don't use Homebrew to install nvm!
brew install pyenv
brew install rbenv
cd ~
git clone https://github.com/creationix/nvm.git .nvm

Ubuntu, Debian

apt install nvm
apt install pyenv
apt install rbenv

Arch Linux

pacman -S nvm
pacman -S pyenv
pacman -S rbenv

终端环境的配置

为了能够使用上述的工具,需要对终端环境(bash/zsh)进行配置。(本项目的 _zshrc 文件已经对它们进行了配置)

Vim,Zsh 的配置

见 vim, Zsh 目录 README。

安装配置

在进行了上述的步骤和每个配置的步骤之后就可以使用该配置了。

当然,你也可以根据自己的喜好进行配置。

git clone https://github.com/kitian616/config.git ~/.tq_config
ln -s ~/.tq_config/vim/_vimrc ~/.vimrc
ln -s ~/.tq_config/zsh/_zshrc ~/.zshrc
# ln -s ~/.tq_config/lint/htmlhint/_htmlhintrc ~/.htmlhintrc
# ln -s ~/.tq_config/lint/stylelint/_stylelintrc ~/.stylelintrc
# ln -s ~/.tq_config/lint/eslint/_eslintrc ~/.eslintrc
# ln -s ~/.tq_config/lint/textlint/_textlintrc ~/.textlintrc

更新

cd ~/.tq_config && git pull && cd -

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.