Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81EBC116CB for ; Mon, 19 May 2014 19:59:19 +0000 (UTC) Received: (qmail 35700 invoked by uid 500); 19 May 2014 19:59:19 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 35668 invoked by uid 500); 19 May 2014 19:59:19 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 35660 invoked by uid 99); 19 May 2014 19:59:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 19:59:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1385E936018; Mon, 19 May 2014 19:59:19 +0000 (UTC) From: brianleroux To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-docs pull request: CB-6680 Clarify instructions for instal... Content-Type: text/plain Message-Id: <20140519195919.1385E936018@tyr.zones.apache.org> Date: Mon, 19 May 2014 19:59:19 +0000 (UTC) Github user brianleroux commented on a diff in the pull request: https://github.com/apache/cordova-docs/pull/205#discussion_r12813055 --- Diff: docs/en/edge/guide/cli/index.md --- @@ -73,22 +74,38 @@ To install the `cordova` command-line tool, follow these steps: the CLI does use it behind-the-scenes to download some assets when creating a new project. -1. Install the `cordova` utility. In Unix, prefixing the additional - `sudo` command may be necessary to install development utilities in - otherwise restricted directories: +1. Install the `cordova` module using Node.js' `npm` utility. The cordova + module will automatically be downloaded by the `npm` utility. - $ sudo npm install -g cordova + * on OS X and Linux: - The installation log may produce errors for any uninstalled - platform SDKs. Following installation, you should be able to run - `cordova` on the command line. + $ sudo npm install -g cordova + + On OS X and Linux, prefixing the `npm` command with + `sudo` may be necessary to install this development utility in + otherwise restricted directories such as + `/usr/local/share`. If you are using the optional + `nvm` tool or have write access to the install directory, --- End diff -- if we're mentioning `nvm` we should also mention `nave` by npm's author --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---