Table of Contents

What's newterm ?





Kurita Tetsuro

Script factory


Whats newterm ?

“newterm” is a command line tool to open a new terminal window of same working directory in

You may want a new terminal window of which woking directory is same to current working directory. “newterm” can help to avoid to input cd command and a path.

Details of usage are as follows:

  1. Locate “newterm” in the directory which is contained in the enviroment variable “PATH”.
    • e.g. “/usr/local/bin”
  2. Enter “newterm” in a terminal window.
    • A new terminal window will be opened. The working directory is same to the origin.
  3. You can pass a directory to “newterm” command.
    • e.g. “newterm path/to/destination”
  4. You can specify first command in new terminla with “-c” option.
    • e.g. “newterm -c 'ls -l'”

newterm [-c command] [directory]


  • OS X 10.10 or later
    • Developed and tested on macOS 10.14.6.


Copy “newterm” into the folder included in the enviroment variable “PATH” (e.g. /usr/local/bin).

In other ways, you can add the location “newterm” is copyed in into the enviroment variable “PATH”.


  • 1.4 -- 2020-04-03
    • Release with English documents.
    • OS X 10.10 or later is required.
    • When “newterm” is executed out of (e.g., DTerm and so on), will be activated to bring new terminal window to the front.
  • ...
  • 1.0 -- 2006-05-22
    • First release