2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PugをMacのターミナルの操作でコンパイルするまで

Posted at

概要

Macのターミナル上でpug compile(?) index.pugみたいなことがしたかっただけなのに、かなりつまづいたのでメモ

インストールの準備

下記環境が必要

  • Node.js
  • npm

これみてインストールしてね:open_hands:
Macにnodejsインストール(homebrewとnを使った)

npm -v

これに反応があればOK

Pugのインストール(全ての悪の根源)

公式にはnpm install pugのみで良さげに書いてるけども

npm install pug-cli -g

こいつも必要だった模様

pug --version

これに反応があればOK

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?