DEV Community

Kimberly Kohel-Hayes
Kimberly Kohel-Hayes

Posted on • Updated on • Originally published at kak79.github.io

How to Make a New Program From the Terminal

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!

Top comments (0)