Install CH5 Developer Tools
The following installation steps are provided for a basic installation of CH5 and setup of a sample project.
- Install Node.js®/NPM as described at https://nodejs.org.
- Install the Crestron utilities CLI (Command Line Interface) or update to the latest version:
- On a Windows® operating system workstation, open the command prompt and issue the following commands:
- On a macOS® operating system workstation, open the terminal and issue the following commands:
- Install Visual Studio® Code software by downloading and installing the binaries for Windows, macOS, and Linux® operating systems at https://code.visualstudio.com/Download.
- Install CH5 Visual Studio Code Extension:
- Open Visual Studio Code.
- Open Extensions.
- Click the Extensions menu icon. Refer to number 2 in the image below.
- Enter the search term "Crestron" in the Search for Extensions in Marketplace text field. Refer to number 3 in the image below.
- Select Install from the CH5 Crestron Components extension result. Refer to number 4 in the image below.
Copy
npm install -g @crestron/ch5-utilities-cli
npm install -g @crestron/ch5-shell-utilities-cli
Copy
sudo npm install -g @crestron/ch5-utilities-cli
sudo npm install -g @crestron/ch5-shell-utilities-cli
NOTE: If Node.js/NPM or the Crestron utilities CLI is installed after Visual Studio Code is open, Visual Studio Code must be closed and reopened.
NOTE: When a new version of CH5 is released, check to see whether there are any updates available to the CH5 Visual Studio Code Extension.
CH5 Crestron Components - Extension Marketplace