Skip to content

Commit

Permalink
Merge pull request #873 from zapier/PDE-5321-install-dev-doc
Browse files Browse the repository at this point in the history
PDE-5321 doc: add instructions of how to install development version
  • Loading branch information
eliangcs authored Oct 1, 2024
2 parents 5d94509 + 2616ed0 commit 9263605
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
43 changes: 43 additions & 0 deletions INSTALL_DEV.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Installing Development Version of Zapier Platform CLI

To try out the latest development version of the Zapier Platform CLI tool, you can pull the source code from GitHub and run it directly. Follow the instructions below.

## First Time Setup

Clone the zapier-platform repo and install the dependencies:

```
cd ~/projects # or wherever you want to cloen the repo
git clone [email protected]/zapier/zapier-platform.git
cd zapier-platform
yarn
```

Then add this line to your shell configuration file, such as `~/.bashrc` or `~/.zshrc`:

```
alias zapier-dev="node ~/Projects/zapier-platform/packages/cli/src/bin/run"
```

Restart your shell with `exec $SHELL` and `zapier-dev` should be available. Test it out by running `zapier-dev` in your terminal. You should see this:

```
$ zapier-dev
The CLI for managing integrations in Zapier Developer Platform.
VERSION
zapier-platform-cli/15.16.0 darwin-arm64 node-v21.7.1
USAGE
$ zapier [COMMAND]
```

## Updating the CLI

To update, simply pull from the main branch and update the dependencies:

```
cd ~/projects/zapier-platform
git pull origin main
yarn
```
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ It consists of a few main packages:
- The :point_up: docs are also hosted at https://platform.zapier.com
- [CHANGELOG.md](CHANGELOG.md)
* Internal-facing docs:
- Testing out new features that haven't been released to npm yet? See [INSTALL_DEV.md](INSTALL_DEV.md)
- Learn about how this repo is structured in [ARCHITECTURE.md](ARCHITECTURE.md)
- Looking to contribute to this repo? See [CONTRIBUTING.md](CONTRIBUTING.md)

0 comments on commit 9263605

Please sign in to comment.