Learn and practice how to use arguments with Node, in this lesson.

Since you will be interacting with the CLI, there is a requirement to pass your own input. With Bash, arguments are passed by number and prefixed with a dollar sign.

Note: Since you will not be working with Bash, there is no need to test out the Bash examples. They are used only for demonstration.

Get hands-on with 1200+ tech skills courses.