如何获得"dnu"?命令在OS X上工作? [英] How to get the "dnu" command working on OS X?

查看:120
本文介绍了如何获得"dnu"?命令在OS X上工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需在OS X 10.10.3上下载并安装 Visual Studio代码即可.

Just downloaded and installed Visual Studio Code on OS X 10.10.3.

我设法部分遵循了 ASP.NET 5的安装说明.

我失败的是当指令告诉我打电话时

What I fail with is when the instruction tells me to call

dnu restore

在我的终端上执行此操作时,它会显示:

When doing this in my terminal, it says:

-bash:dnu:找不到命令

-bash: dnu: command not found

我在SO上找到了一个类似的问题,不幸的是这并没有帮助我.

I've found a somewhat similar question here on SO which unfortunately did not help me.

我的问题:

如何在OS X上使用"dnu"命令?

How can I make the "dnu" command work on OS X?

更新:

有人将我的问题标记为我自己链接的SO问题的重复项.

Someone marked my questions as the duplicate of the SO question I linked to by myself.

现在,SO迫使我编辑问题以证明它不是重复的.所以基本上现在就是我:

Now SO forces me to edit my question to proof that it is not a duplicate. So basically that is me right now:

我希望这可以满足SO的要求,即以重复形式结束我的问题,因为我的理解是它不是重复的.

I hope this satisfies the needs of SO to not close my question as a duplicate since my understanding is that it is no duplicate.

推荐答案

要回答我自己的问题:

有用的是 Jed Grant的评论,并链接到此GitHub讨论.

我在终端上做了以下事情:

I did the following in a terminal:

source dnvm.sh
dnvm upgrade -u

突然之间有了"dnu"命令,以便我可以运行

And suddenly the "dnu" command was available so that I could run

dnu restore

按照安装说明告诉我.

这篇关于如何获得"dnu"?命令在OS X上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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