Message from discussion
npm 1.0 RC
Received: by 10.227.6.200 with SMTP id a8mr285740wba.3.1300767728942;
Mon, 21 Mar 2011 21:22:08 -0700 (PDT)
X-BeenThere: npm-@googlegroups.com
Received: by 10.227.28.219 with SMTP id n27ls2690148wbc.2.p; Mon, 21 Mar 2011
21:22:07 -0700 (PDT)
Received: by 10.227.7.19 with SMTP id b19mr285383wbb.4.1300767727707;
Mon, 21 Mar 2011 21:22:07 -0700 (PDT)
Received: by 10.227.7.19 with SMTP id b19mr285382wbb.4.1300767727633;
Mon, 21 Mar 2011 21:22:07 -0700 (PDT)
Return-Path: <isaacschlue...@gmail.com>
Received: from mail-wy0-f170.google.com (mail-wy0-f170.google.com [74.125.82.170])
by gmr-mx.google.com with ESMTPS id g17si2753106wbe.7.2011.03.21.21.22.07
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 21 Mar 2011 21:22:07 -0700 (PDT)
Received-SPF: pass (google.com: domain of isaacschlue...@gmail.com designates 74.125.82.170 as permitted sender) client-ip=74.125.82.170;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of isaacschlue...@gmail.com designates 74.125.82.170 as permitted sender) smtp.mail=isaacschlue...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by wyb34 with SMTP id 34so8610586wyb.15
for <npm-@googlegroups.com>; Mon, 21 Mar 2011 21:22:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:content-type
:content-transfer-encoding;
bh=80sR4n2mHewfh0q5Hxh+yeZpg7comm9F5JjT9uk2NtQ=;
b=UILjycaW625VAKxs/nfVvP8HwhqI4vJliDQOO/TGgFy8MqKsTVf+1Ctwiy/dBr0X5X
7dMUda1vqPLlCljZl1OHrGNim86f1xwYv/regZyJnfnBdrQNeg07WTtm/wIrJOwnvQIx
KI4qT1IMWr4SfV49fte+0d7BesWawFuxECFZk=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:content-type
:content-transfer-encoding;
b=GbtYNx7616KsoC/HpZ0B+jAzRVlLm7+fZwztC1gRpdvTK8t+tE3xXtDZNfnTAN7ARb
t24mUrziqR3hpaX+AVnmGUyGz6laWEAzuehay/ISIAj4orYvreht7exr/8WL0I0M3SJ+
IOUx2/qBC7e6j3Q7ADVoi340fNcMz9Dl3YOas=
MIME-Version: 1.0
Received: by 10.216.245.203 with SMTP id o53mr2104303wer.41.1300767727416;
Mon, 21 Mar 2011 21:22:07 -0700 (PDT)
Sender: isaacschlue...@gmail.com
Received: by 10.216.55.133 with HTTP; Mon, 21 Mar 2011 21:22:07 -0700 (PDT)
In-Reply-To: <ab9f352c-0627-4142-8d43-37e9f9d13...@d26g2000prn.googlegroups.com>
References: <AANLkTinxmjcpj4WMEjochT4jUnAQqGp+Jzc7HF9_R...@mail.gmail.com>
<AANLkTin3TP0fwxDJvtaE+i1VSzScxzjh9OWT6-cC-...@mail.gmail.com>
<ab9f352c-0627-4142-8d43-37e9f9d13...@d26g2000prn.googlegroups.com>
Date: Mon, 21 Mar 2011 21:22:07 -0700
Message-ID: <AANLkTikTAvBWDkJsWreSUprgt-sX5vOOhNuP1Qw0M...@mail.gmail.com>
Subject: Re: [npm] Re: npm 1.0 RC
From: Isaac Schlueter <i...@izs.me>
To: npm-@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
npm config set prefix /home/kuno/pkg
Then global installs will put packages in
/home/kuno/pkg/lib/node_modules. Bins will go in /home/kuno/pkg/bin.
Man pages will go in /home/kuno/pkg/share/man.
If you just want to install locally in that folder, then simply
cd /home/kuno/pkg and then `npm install whatever` and it'll be
installed in that folder.
--i
On Mon, Mar 21, 2011 at 18:43, kuno <neok...@gmail.com> wrote:
> hi isaac:
> My problem is how to tell npm 1.x to install under a specific folder,
> says that I have a directory /home/kuno/pkg, and I want =C2=A0intall npm
> under /home/kuno/pkg/node_module, the executable file under the /home/
> kuno/pkg/bin direcotry.
>
> This is a common problem for a linux package maintainer, and the old
> npm works quite well by setting the three root, but what's goint on in
> npm 1.x?
>
>