Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Feb 27, 2023
1 parent dd36707 commit 101b810
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,19 @@ the import.
import sh from 'tinysh' // @^1
```

### Executing commands on remote hosts

The `zx` uses [webpod](https://github.com/webpod/webpod) to execute commands on
remote hosts.

```js
import { ssh } from 'zx'

await ssh('user@host')`echo Hello, world!`
```



### Attaching a profile

By default `child_process` does not include aliases and bash functions.
Expand Down

0 comments on commit 101b810

Please sign in to comment.