Installation โ
TIP
Before installing SmartPy you can try out the online IDE.
The preferred way of running SmartPy is via the smartpy
wrapper. This requires Docker and works on both Linux and macOS. It can be obtained as follows:
shell
wget https://smartpy.dev/smartpy
chmod a+x smartpy
To test it, you can download an example and run the smartpy
command:
shell
wget https://smartpy.dev/templates/welcome.py
./smartpy test welcome.py welcome/
The first time this command is invoked, the necessary Docker image will be downloaded. Subsequent invocations will be much faster.
You should now see the output in the welcome/
directory.