Estimated reading time: 4 minutes Updated: 10/21/2025 Created by: Botmaker Team

Install BM-CLI on your PC

In this article, you’ll find the instructions to install and configure BM-CLI on your local machine.



Install the BM-CLI client to develop Client Actions locally on your PC. This allows you to write and test your code using your preferred IDE.


Steps:

  1. Make sure you have Node.js installed on your PC.
  2. Run npm i -g @botmaker.org/botmaker-cli
  3. Then run bmc in the console and configure it following the setup steps.
  4. Run bmc -help to view the available commands.



If you encounter any issues on Windows, try the following:

Failed node-gyp rebuild and/or Python 2.7 issue

  1. Run npm install --global windows-build-tools in Windows PowerShell as Administrator.
  2. Create an environment variable named PYTHON and set it to your directory path:
    C:\Users\YOUR_USER\.windows-build-tools\python27\python.exe
  3. Then run bmc in the console and configure it following the setup steps.



Cannot be loaded because running scripts is disabled on this system

Run PowerShell as Administrator and execute:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser



Remember to visit our Help Center for further information.