mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
384e926e5e
MozReview-Commit-ID: KOdYXXERO8p --HG-- extra : rebase_source : 5b74d07a0ecc89dd32dcaa78300626cc901cc756
13 lines
526 B
Bash
13 lines
526 B
Bash
#!/bin/bash
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# This script installs Node v6.
|
|
|
|
wget https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x64.tar.gz
|
|
echo 'a9d9e6308931fa2a2b0cada070516d45b76d752430c31c9198933c78f8d54b17 node-v6.9.1-linux-x64.tar.gz' | sha256sum -c
|
|
tar -C /usr/local -xz --strip-components 1 < node-v6.9.1-linux-x64.tar.gz
|
|
node -v # verify
|
|
npm -v
|