Last active
August 29, 2015 14:25
easy installation of io.js on a rasberry pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# io.js on raspberry pi | |
installing io.js is now really easy thanks to the io.js and nvm team. | |
They provides prebuilt binaries for arm. | |
## get the system up to date | |
io.js require packages that are not available on the standard (Wheezy) need to change to Jessie. | |
Update your package url | |
``` | |
$ sudo nano /etc/apt/sources.list | |
``` | |
in the opened file comment the Wheezy package line and add | |
``` | |
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi | |
``` | |
Now you need to do a full upgrade | |
``` | |
$ sudo apt-get update && apt-get upgrade && apt-get autoremove | |
``` | |
## install node version manager | |
if you have already nvm installed, please be sure to use the latest version (min v0.23.0, ```nvm --version```). two install options are available : | |
curl script | |
``` | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | bash | |
``` | |
or make a regular installation following [nvm](https://github.com/creationix/nvm)'s instructions | |
## install io.js binaries | |
``` | |
$ nvm install iojs | |
``` | |
will download binaries for io.js and npm and symlink them to node and npm command. | |
Go play with es6 ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment