Open heaversm opened 5 years ago
Hi @heaversm when you do an npm install -g paperspace-node
it adds it to your path. This means you can use the paperspace
command everywhere. You can also install with a regular npm install paperspace-node
but then you need to make sure you add the install location to your PATH.
There are lots of way to add to your PATH, but usually a export PATH=$PATH:~/location/to/the/npm/binary
will work. Here is a link http://osxdaily.com/2014/08/14/add-new-path-to-path-command-line/
Hi - I'm leading a course on machine learning and have successfully installed paperspace on my own machine, but I need to test student access on the school's laptops, and cannot get the cli working. Due to security restraints, I can only do an
npm install paperspace-node
(no global, no pip, and the binary just downloads as a text document that I cannot execute).But after successful npm init, npm install, if I attempt to run
paperspace ...
anything, I getcommand not found paperspace
. Would this be a security constraint? Or a difference between a global install and a local that means I need to do something different to invoke the CLI?