美文网首页
How to Install NPM on a Mac.

How to Install NPM on a Mac.

作者: PengPengPro | 来源:发表于2016-10-31 17:30 被阅读16次

    Before you can install Node, you’ll need to install two other applications. Fortunately, once you’ve got these on your machine, installing Node takes just a few minutes.
    XCode. Apple’s XCode development software is used to build Mac and iOS apps, but it also includes the tools you need to compile software for use on your Mac. XCode is free and you can find it in the [Apple App Store]

    (https://itunes.apple.com/us/app/xcode/id497799835?mt=12).

    Homebrew. Homebrew is a package manager for the Mac — it makes installing most open source sofware (like Node) as simple as writing brew install node

    . You can learn more about Homebrew at the Homebrew website. To install Homebrew just open Terminal and type ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    . You’ll see messages in the Terminal explaining what you need to do to complete the installation process.

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

    相关文章

      网友评论

          本文标题:How to Install NPM on a Mac.

          本文链接:https://www.haomeiwen.com/subject/hkkputtx.html