DEV Community

loading...

How to Make a New Program From the Terminal

Kimberly Kohel-Hayes
I'm an aspiring Software Engineer studying at Flatiron, Treehouse and Freecodecamp.org
Originally published at kak79.github.io Updated on ・1 min read

I'm a flatiron school bootcamp student. I've noticed that no one in the first and second modules seems to know how to start a new program from the terminal. So here we are.

Open your terminal and type the following in the directory of your choice:

mkdir new_folder
cd new_folder
bundle init 
touch config.ru  

bundle init makes a new gem file and touch makes a file

At this point you can open your files in your IDE and edit as you usually would. Don't forget to run git init to create a new local repository and commit often!

Discussion (0)