nix-config/sh/401-node

17 lines
316 B
Plaintext
Raw Normal View History

2018-08-31 22:06:12 +02:00
#!/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
pacman -S nodejs
pacman -S npm
pacman -S yarn