https://github.com/clayrisser/open-terminal
cross platform open terminal and run command
https://github.com/clayrisser/open-terminal
child-process linux mac osx spawn terminal windows
Last synced: 11 months ago
JSON representation
cross platform open terminal and run command
- Host: GitHub
- URL: https://github.com/clayrisser/open-terminal
- Owner: clayrisser
- License: mit
- Created: 2018-09-20T04:38:01.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T06:27:59.000Z (over 2 years ago)
- Last Synced: 2025-03-05T19:01:56.590Z (about 1 year ago)
- Topics: child-process, linux, mac, osx, spawn, terminal, windows
- Language: TypeScript
- Homepage: https://codejam.ninja
- Size: 45.9 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# open-terminal
[](https://github.com/clayrisser/open-terminal)
> cross platform open terminal and run command
Please ★ this repo if you found it useful ★ ★ ★
## Features
- supports osx
- supports linux
## Installation
```sh
npm install -g open-terminal
```
## Dependencies
- [NodeJS](https://nodejs.org)
## Usage
### from the terminal
```sh
open-terminal "echo 'Hello, world!' && tail -f /dev/null"
```
### from the nodejs api
```js
import openTerminal from 'open-terminal';
openTerminal("echo 'Hello, world!' && tail -f /dev/null");
```
## Support
Submit an [issue](https://github.com/clayrisser/open-terminal/issues/new)
## Screenshots
[Contribute](https://github.com/clayrisser/open-terminal/blob/master/CONTRIBUTING.md) a screenshot
## Contributing
Review the [guidelines for contributing](https://github.com/clayrisser/open-terminal/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://github.com/clayrisser/open-terminal/blob/master/LICENSE)
[Clay Risser](https://clayrisser.com) © 2021
## Changelog
Review the [changelog](https://github.com/clayrisser/open-terminal/blob/master/CHANGELOG.md)
## Credits
- [Clay Risser](https://clayrisser.com) - Author
## Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
[Add some fuel](https://liberapay.com/clayrisser/donate) if you'd like to keep me going!
[](https://liberapay.com/clayrisser/donate)
[](https://liberapay.com/clayrisser/donate)