Skip to main content
  • Guides & Documentation

Knowledgebase

Featured articles, how-to guides and quick tips.

How to Exit React App within Terminal on macOS

After installing React locally on your macOS machine, you may find yourself 'stuck' within the React app in the Terminal application.

You might see something like:

my-computer:test-react-build username$

Exiting the current React app via Terminal is easy. If you're running React on your macOS machine, all you have to do from the terminal is:

cd

You'll then see something in Terminal like:

my-computer:~ username$

This means that you've successfully exited the React app within Terminal, and can go about your business!

If you're running a process and need to go back up one level, then simply use:

ctrl + c

After making changes to the App, build via Terminal using:

npm run build

And after building, to start the App use:

npm start