如何使用Homebrew在OSX上安装DNX? [英] How do you Install DNX on OSX using Homebrew?

查看:149
本文介绍了如何使用Homebrew在OSX上安装DNX?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!由于将k较大地重命名为dnx,所以我不知道如何在Mac上安装这些工具?

Hello Since the big rename of k to dnx I have no idea how to install the tools on my mac?

dev分支上的文档尚未更新以反映较大的重命名

the documentation on the dev branch has not been updated to reflect the big rename

https://github.com/aspnet/Home/tree/dev

推荐答案

homebrew-k最近已更新以支持dnvm.这里的说明:

The homebrew-k was updated recently to support dnvm. Here the instructions:

  • 安装Homebrew(如果尚未安装).
  • 运行命令brew tap aspnet/k以点击与ASP.NET 5相关的git存储库.如果您已经使用了早期版本的存储库,请运行brew untap aspnet/k删除旧命令,然后再次点击以获取更新的brew脚本
  • 运行命令brew install dnvm以安装dnvm.这将从 https://www.nuget.org/api/v2提要
  • 如果终端无法理解dnvm
  • ,请在终端上运行命令source dnvm.sh
  • Install Homebrew if it is not already installed.
  • Run command brew tap aspnet/k to tap the ASP.NET 5 related git repositories. If you had already tapped the repo for previous releases, run brew untap aspnet/k to delete the old commands and tap again to get the updated brew scripts
  • Run command brew install dnvm to install dnvm. This will automatically install the latest DNX package from https://www.nuget.org/api/v2 feed
  • Run command source dnvm.sh on your terminal if your terminal cannot understand dnvm

编辑

Homebrew-K重命名为Homebrew-dnx,所以现在您应该使用

Homebrew-K was renamed to Homebrew-dnx so now you should use

brew tap aspnet/dnx

如果您点击aspnet/k,则可以先解除它(brew untap aspnet/k)并更新brew(brew update)

If you tapped aspnet/k it is probably not a bad idea to untap it (brew untap aspnet/k) and update brew (brew update)

这篇关于如何使用Homebrew在OSX上安装DNX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆