MacOS Monterey上的安装和配置NVM(节点版本管理器)

发布于 2025-02-11 10:18:19 字数 110 浏览 2 评论 0 原文

我在Macos Monterrey上安装和配置 Node版本管理器遇到了很多问题像我这样的用户。我承认,我需要的屏幕截图比文本更多。

你们有简单的解决方案吗?

I have had a lot of problems installing and configuring Node Version Manager on MacOS Monterrey because, although I have found a lot of information and guides to install and configure all this information, it is not easy for a Windows user like me. And I confess that I need more screenshots than text.

Do you guys have any easy solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

韶华倾负 2025-02-18 10:18:19

我有一个对我有用的解决方案,以在MacOS Monterrey 中安装和配置NVM,通过多个步骤,我将尝试清晰明确:

解决了解决此问题的两种方法:

在GIST的第3点

将以下行添加到您的个人资料中。 (.profile或.zshrc或.zprofile)

您可以使用打开〜/.zprofile open〜/.zshrc

  • 此方式对我有用: gist

在Macintosh HD-&GT中创建一个.ZSHRC文件。用户 - > {{您的用户文件夹}}

如果没有它,请使用 touch〜/.zshrc 创建
接下来,只需开放使用 touch〜/.zshrc

我认为Windows用户的问题是了解之间的zshrc-zlogin-what-goes-where“>”。

我希望此摘要能为您服务,只是要感谢我发现的文章的合作者

I have a solution that works for me, to install and configure nvm in MacOS Monterrey, with several steps, I will try to be clear and concise:

Exists two ways to resolve this problem:

At point 3 of Gist

Add following line to your profile. (.profile or .zshrc or .zprofile)

you can open with open ~/.zprofile or open ~/.zshrc

  • This way works for me: Gist

In the line

Create a .zshrc file in Macintosh HD -> Users -> {{your user folder}}

If you don't have it, create with touch ~/.zshrc
Next just open to edit with touch ~/.zshrc

I think problem for Windows users is understand the difference between .zprofile and .zshrc.

I hope that this summary will serve you, just to thank the collaborators of the articles that I have found

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文