Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to install tabs #58

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion install.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ Select the operating system you are working on.

<div id="tab-osx" class="content active">

[Node.js](http://nodejs.org/) is a prerequisite for installing the Tessel command line. You can install it from the [official website](http://nodejs.org/), or if you have [brew](http://brew.sh/) installed: `brew install node`
[Node.js](http://nodejs.org/) is a prerequisite for installing the Tessel command line. You can install it using nvm by running the following commands in your terminal:

`curl https://raw.githubusercontent.com/creationix/nvm/v0.23.2/install.sh | bash`

`source ~/.bashrc`

`nvm install 0.12.7`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NVM doesn't work on Windows-based systems, so it would be cool to make a remark here for Windows users to just install 0.12.7 straight away.

(PS: there is nvmw and similar tools, but IMO they all are a real pain to use...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I linked to nvm-windows in the Windows implementation - because it's really hard to find the different versions on Node's site. Is nvm-windows not a good solution?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Student007 curious to get your take as well

@Frijol sorry - I am out of time today - I assume I will not be free next weekdays.

The best way to verify is to use my reference machines - that way you will also see some traps. You need to rewrite/cleanup the vagrant file to execute curl https://raw.githubusercontent.com/creationix/nvm/v0.23.2/install.sh | bash and following steps.
Note: The MacOS X reference machine needs up to 20 hours to download the image. But after done once you can work with it like the Windows- and Linux- VMs.

Hope my hard work at this reference images will be payed by being useful at this point 👍

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have both brew and nvm instructions?


*Tessel's command line currently does not work on Node 4.x or higher; if you run `node --version` and see 4.something, please follow the instructions above. [[Track issue]](https://github.com/tessel/t2-start/issues/49)*

Once Node.js is installed, run this installation script from your terminal:

Expand All @@ -34,6 +42,8 @@ If you are running Ubuntu _13.10 or later_, you can run this:

`apt-get install nodejs nodejs-legacy`

*Tessel's command line currently does not work on Node 4.x or higher; please install an earlier version. [[Track issue]](https://github.com/tessel/t2-start/issues/49)*

Once Node is installed, run this in your terminal:

`apt-get install libusb-1.0-0-dev libudev-dev`
Expand All @@ -49,6 +59,8 @@ On Windows 7, you may receive the notification "Device driver software was not s

Next, install [Node.JS](http://nodejs.org). You need this to interact with Tessel from the command line.

*Tessel's command line currently does not work on Node 4.x or higher; if you run `node --version` and see 4.something, please [install an earlier version](https://github.com/coreybutler/nvm-windows). [[Track issue]](https://github.com/tessel/t2-start/issues/49)*

After installing the Tessel drivers and Node.js, run this in cmd.exe:

<big>`npm install -g t2-cli`</big>
Expand Down