nix-config/sh/languages/401-node

17 lines
331 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
sudo pacman -S nodejs
2018-08-31 22:06:12 +02:00
sudo pacman -S npm
2018-08-31 22:06:12 +02:00
sudo pacman -S yarn