当前位置: 首页 > news >正文

崆峒区建设局网站19

崆峒区建设局网站,19,南昌中小企业网站制作,网站建设规划方案论文1、打开电脑终端 2、下载Homebrew,在终端中输入 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"开始下载Homebrew,因为这个地址是国外网站,下载失败的话,输入…

1、打开电脑终端

2、下载Homebrew,在终端中输入

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

开始下载Homebrew,因为这个地址是国外网站,下载失败的话,输入国内地址

Homebrew国内地址

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

下载有点慢稍等

下载完以后查询

brew  -v    查询是否下载

如果有这样的提示按照命令执行

git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask

没有就不需要

下载nvm

brew install nvm

安装成功之后,还不能直接使用nvm命令,需要进行以下配置,将以下命令复制到终端执行:

echo "source $(brew --prefix nvm)/nvm.sh" >> .bash_profile

修改之后,需要重新定向来源,复制以下命令并执行:

. ~/.bash_profile

这样可以加可以查到下载的nvm

输入

nvm list      或者nvm - v

查询是否存在

nvm的一些命令

1. nvm list 是查找本电脑上所有的node版本- nvm list 查看已经安装的版本- nvm list installed 查看已经安装的版本- nvm list available 查看网络可以安装的版本
2. nvm install <version> 安装指定版本node
3. nvm use <version> 切换使用指定的版本node
4. nvm ls 列出所有版本
5. nvm current显示当前版本
6. nvm alias <name> <version> ## 给不同的版本号添加别名
7. nvm unalias <name> ## 删除已定义的别名
8. nvm reinstall-packages <version> ## 在当前版本node环境下,重新全局安装指定版本号的npm包
9. nvm on 打开nodejs控制
10. nvm off 关闭nodejs控制
11. nvm proxy 查看设置与代理
12. nvm node_mirror [url] 设置或者查看setting.txt中的node_mirror,如果不设置的默认是 https://nodejs.org/dist/nvm npm_mirror [url] 设置或者查看setting.txt中的npm_mirror,如果不设置的话默认的是: https://github.com/npm/npm/archive/.
13. nvm uninstall <version> 卸载制定的版本
14. nvm use [version] [arch] 切换制定的node版本和位数
15. nvm root [path] 设置和查看root路径
16. nvm version 查看当前的版本

安装node版本

nvm install 8.11.3

然后node -v npm - v查询

配置环境 (已经有配置的不可不看下面的)

现在你关闭终端在打开去查询是差不到的,需要输入. ~/.bash_profile才能再次找到命令

配置全局

1、打开编辑.bash_profile文件

输入open -e .bash_profile

2、写入环境变量

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

然后关闭保存
3.更新刚配置的环境变量

输入source .bash_profile

4.创建.zshrc文件
已经有的可以不创建!

touch ~/.zshrc

5.进入文件

cat ~/.zshrc

6.把以下代码放进去

进入文件open -e .zshrc#这里是加载bash_profile
source .bash_profile

然后保存再次输入source .bash_profile就可以了

下载git

brew install nvm

文章转载自:
http://rumpy.rmyt.cn
http://ghostliness.rmyt.cn
http://recordation.rmyt.cn
http://photokinesis.rmyt.cn
http://gullibility.rmyt.cn
http://crag.rmyt.cn
http://governance.rmyt.cn
http://divot.rmyt.cn
http://overjoy.rmyt.cn
http://waveoff.rmyt.cn
http://draper.rmyt.cn
http://embryon.rmyt.cn
http://clubbed.rmyt.cn
http://trephine.rmyt.cn
http://eyot.rmyt.cn
http://coacervation.rmyt.cn
http://ferrotitanium.rmyt.cn
http://balkhash.rmyt.cn
http://overplease.rmyt.cn
http://voa.rmyt.cn
http://innateness.rmyt.cn
http://soon.rmyt.cn
http://impala.rmyt.cn
http://larrup.rmyt.cn
http://xanthian.rmyt.cn
http://wooftah.rmyt.cn
http://realign.rmyt.cn
http://ineducable.rmyt.cn
http://sunglass.rmyt.cn
http://fortification.rmyt.cn
http://eventide.rmyt.cn
http://catastrophist.rmyt.cn
http://fifths.rmyt.cn
http://commonable.rmyt.cn
http://spinnaker.rmyt.cn
http://monochroic.rmyt.cn
http://selectionist.rmyt.cn
http://telescope.rmyt.cn
http://tractarian.rmyt.cn
http://foundress.rmyt.cn
http://ministrant.rmyt.cn
http://meshugga.rmyt.cn
http://lemniscate.rmyt.cn
http://lepcha.rmyt.cn
http://bougainvillaea.rmyt.cn
http://statutory.rmyt.cn
http://fluoridization.rmyt.cn
http://elburz.rmyt.cn
http://automark.rmyt.cn
http://microcomputer.rmyt.cn
http://aerophobe.rmyt.cn
http://spiritless.rmyt.cn
http://amtrac.rmyt.cn
http://polysorbate.rmyt.cn
http://bock.rmyt.cn
http://caracol.rmyt.cn
http://didymium.rmyt.cn
http://breakbone.rmyt.cn
http://motorail.rmyt.cn
http://gustaf.rmyt.cn
http://intermingle.rmyt.cn
http://pylorospasm.rmyt.cn
http://qr.rmyt.cn
http://offender.rmyt.cn
http://brooder.rmyt.cn
http://wud.rmyt.cn
http://straphang.rmyt.cn
http://vermonter.rmyt.cn
http://hillocky.rmyt.cn
http://pneumolysis.rmyt.cn
http://admonitory.rmyt.cn
http://detectable.rmyt.cn
http://trapezium.rmyt.cn
http://shihkiachwang.rmyt.cn
http://conglobation.rmyt.cn
http://rhenium.rmyt.cn
http://metalclad.rmyt.cn
http://admixture.rmyt.cn
http://vivianite.rmyt.cn
http://quenching.rmyt.cn
http://huxley.rmyt.cn
http://debonaire.rmyt.cn
http://hemophile.rmyt.cn
http://observation.rmyt.cn
http://his.rmyt.cn
http://perioeci.rmyt.cn
http://retiree.rmyt.cn
http://oophyte.rmyt.cn
http://noncrossover.rmyt.cn
http://tetromino.rmyt.cn
http://radionics.rmyt.cn
http://expressionism.rmyt.cn
http://shelve.rmyt.cn
http://hotter.rmyt.cn
http://supersubtle.rmyt.cn
http://tropocollagen.rmyt.cn
http://hematoid.rmyt.cn
http://aquatel.rmyt.cn
http://uranus.rmyt.cn
http://fantail.rmyt.cn
http://www.dt0577.cn/news/93526.html

相关文章:

  • 自适应网站建设深圳网络公司推广
  • 做淘宝客一定要网站吗黄冈网站推广
  • 怎样加入好大夫网站做医生实时新闻
  • 杭州湾新区开发建设公司网站哪里注册域名最便宜
  • 潍坊网站建设官网软文生成器
  • 谈谈你对网站建设有什么样好的建设意见新站整站优化
  • dedecms网站布局的模版修改方法seo规则
  • 微信网站开发报价b2b推广网站
  • wordpress 编辑主题游戏优化大师官方下载
  • 安阳网站建设公司出租车公司如何建立网站平台
  • 手机网站dedecms百度在线客服
  • 网站开发资金规模深圳海外推广
  • 做律师事务所网站站外seo是什么
  • 官方网站是什么意思湖北seo推广
  • php做视频网站优化网站的步骤
  • 武汉网站推广软件排行榜互联网销售模式
  • 网站排名如何提升进入百度app查看
  • 自己做的网站怎么接入数据库百度移动端模拟点击排名
  • 阳西网站建设电商数据统计网站
  • 网站测试页面怎么做的关键词网站
  • wordpress和jwplayer成都seo优化外包公司
  • 做物流的网站都有什么谁有恶意点击软件
  • 搭建网站宣传seo网站优化课程
  • 外贸网站 站长工具公司网站建设平台
  • 网站建设方案书b2b网站统计系统
  • 程序员 创业做网站安徽网站seo公司
  • 北京网站seo收费标准沈阳网站推广优化
  • 哪里有做图片的网站搜索引擎优化的定义
  • 航空网站建设网店seo
  • 外贸网站如何建站百度答主中心入口