webstorm下载安装、配置

一、下载
2019版hosts文件中去掉0.0.0.0 account.jetbrains.com或者0.0.0.0 www.jetbrains.com这两行,直接从http://idea.lanyus.com/这个网站获取注册码,把注册码粘贴到activation code栏就可以了!

http://idea.lanyus.com

https://www.jianshu.com/p/4c81cf31b94d

用下面网站的链接可以注册成功https://blog.csdn.net/weixin_40214318/article/details/98589120

二、安装npm
Homebrew简称brew,OSX上的软件包管理工具,在Mac终端可以通过brew安装、更新、卸载软件。

1、打开终端直接输入下面指令回车:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  

注意:如果当前的用户是管理员,需要对权限进行许可,在执行上面的指令前先执行:sudo chmod -R g+w /usr/local

2、在1中指令回车后会提示“Press RETURN to continue or any other key to abort”(回车继续或者按其他键终止),这是直接回车进入“Downloading and installing Homebrew...”,如果网络不好的话可能会提示“fatal: unable to access 'https://github.com/Homebrew/brew/': SSLRead() return error -9806...等”,没关系重新输入1的指令更新。

2.1 出现如下代码时,不用等了,直接关掉命令窗口

==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...

2.2进入下面的 Taps 目录,clone homebrew-core
cd /usr/local/Homebrew/Library/Taps/homebrew
git clone https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

3、更新完成后的提示如下图所示:

webstorm下载安装、配置_第1张图片
image

4、常用的三条语句搜索(search)、更新(install)、卸载(remove)

搜索:brew search SoftwareName

更新:brew install SoftwareName

卸载:brew remove SoftwareName

(SoftwareName 是你需要处理的软件名)

三、homebrew 安装node

$ brew update
    $ brew install node

安装了node就带了npm

四、安装webpack
//全局安装
npm install -g webpack
//安装到你的项目目录
npm install --save-dev webpack

五、激活

网址里面有 [lookdiv.com](https://links.jianshu.com/go?to=http%3A%2F%2Flookdiv.com) 里面的钥匙就是lookdiv.com

你可能感兴趣的:(webstorm下载安装、配置)