# How to use the ## Function BT interpreter to execute the `.bt` file. If `main.bt` exists in the current directory during startup, the file will be executed by default; otherwise, it will enter the command line interactive mode. ## Run and debug ```bt // Output: hello world print 'hello world' ``` After installing the editor extension `bt-lang`, you can create `main.bt` in the project directory and run it directly. ## Command line execution ```bash -c demo.bt ``` ## Windows puts `bt.exe` in the project directory. When double-clicking to run, `main.bt` in the current directory will be executed first. ## Linux and macOS ```shell cd /home/project chmod +x bt ./bt ``` ## Notes -Script files uniformly use the `.bt` suffix. - Web services, desktop applications and normal CLI scripts all reuse the same BT language syntax.