新电脑工作流搭建记录-前端篇

vscode:

url: Visual Studio Code - Code Editing. Redefined

插件:Chinese、git history、git graph、codelf、css peek、auto closed tad、auto rename tag、Quokka.js、Image preview

Node

官网直接下载:下载 | Node.js

node版本管理器n

可以使用 npm 直接安装到全局: npm install n -g 常用命令 n # 显示所有已下载版本 n 10.16.0 # 下载指定版本 n lts # 查看远程所有 LTS Node.js 版本 n run 10.16.0 # 运行指定的 Node.js 版本

Yarn

Git

url: Git

配置:

git config --global user.name "username"

git config --global user.email "email"

查看配置:git config --global --list

生成ssh:ssh-keygen -t rsa

此时会生成两个文件: id_rsa文件:私钥,保存于本地; id_rsa.pub文件:公钥,需要把里面内容配置到远端仓库(全部复制过去就可以了)。

mac打开公钥

open ~/.ssh/id_rsa.pub或者vim ~/.ssh/id_rsa.pub

oh-my-zsh

第一步 → 把 oh-my-zsh 项目 Clone 下来:

git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

第二步 → 复制 .zshrc

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

第三步 → 更改你的默认 Shell

chsh -s /bin/zsh

谷歌浏览器插件

Page-Ruler、mate tranlate、todoist-for-chrome、Auto-Group Tabs、Fehelper

相关推荐
深海鱼在掘金1 天前
Git 完全指南 —— 第3章:理解工作区、暂存区、版本库三个核心
git
江华森1 天前
Git 基础筑基:从原理到团队协作的全栈实战
git
JakeJiang1 天前
Git 必备命令指南:从日常高频到项目开发实战
git
叫我少年2 天前
Windows 中安装 git
git
深海鱼在掘金7 天前
Git 完全指南 —— 第1章:Git 概览与版本控制演进
git
noravinsc8 天前
关于Git Flow
git
蜜獾云8 天前
在Git中配置用户名和密码
git
scx_link8 天前
通过git bash在本地创建分支,并推送到远程仓库中
开发语言·git·bash
南大白8 天前
IntelliJ IDEA 运行时的 JVM 本地内存溢出崩溃
git
码农小旋风8 天前
Claude Code 基础用法大全:对话、分析、修改、测试、Git 和工作流
人工智能·git·chatgpt·claude