A Sidef script can be written in any text editor and, by convention, it has the .sf extension.
.sf
The content of a simple Hello World program looks like this:
#!/usr/bin/sidef say "Hello, 世界";
If we save the content in a new file called hello.sf, we can execute the code by running:
hello.sf
$ sidef hello.sf
Last updated 2 years ago