-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #873 from zapier/PDE-5321-install-dev-doc
PDE-5321 doc: add instructions of how to install development version
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters