nix-config/sh/languages/401-node
Donovan Glover abe4cfb739
Move languages to a separate directory
This is an attempt to reduce the clutter of the sh/ directory by putting
similar scripts in their own subdirectories.
2018-09-07 18:07:29 -04:00

17 lines
331 B
Bash

#!/bin/sh
#
# Node lets us write JavaScript code outside of the browser.
#
# Yarn is the preferred dependency manager, however, some programs
# have npm hard-coded as a dependency, so we install that as well.
#
# https://wiki.archlinux.org/index.php/Node.js
set -xe
sudo pacman -S nodejs
sudo pacman -S npm
sudo pacman -S yarn