Skip to content

Glossary: Node.js Basics

Shebang

Also written: #!/usr/bin/env node

A first line, `#!/usr/bin/env node`, telling macOS and Linux to run the file with Node. Combined with `chmod +x` it lets you type `./kc.js`.

Where the book teaches it

Related terms

chmod +xnpm link