Running the Cangjie Executable
Direct Execution
Linux / macOS
-
First, please refer to the Deploying Cangjie Runtime section to complete the runtime library deployment.
-
Copy the compiled executable file
mainto the target environment and execute it../mainNote: The executable
maincompiled usingcjpmis located in thetarget/release/bindirectory.
Windows
-
First, please refer to the Deploying Cangjie Runtime section to complete the runtime library deployment.
-
Copy the compiled executable file
main.exeto the target environment and execute it..\main.exeNote: The executable
main.execompiled usingcjpmis located in thetarget\release\bindirectory.
Using cjpm to Run
Developers commonly use cjpm to manage, compile, and run Cangjie projects.
Developers can install the complete Cangjie toolchain on the target environment by following the Installing Cangjie Toolchain section. After installation, copy the entire Cangjie project to the target environment and use the cjpm run command to execute the project.