To manually download and install software that isn't currently available through a package manager, or to precisely specify the order of operations, you can use the Setup Script to run any commands that you could run on a Linux system (e.g. curl , unzip /tar , git clone ).

Because the script will be run as part of the build phase, any commands will be run once, and will henceforth be cached as part of your capsule's custom environment. See Monitoring and inspecting the result of the environment setup phase for more information.

Note that many software installation instructions will specify commands such as sudo apt-get install python-dev; sudo  is unnecessary on Code Ocean.


For scripts that install new or additional languages, see Setting up new or additional languages on Code Ocean

For MATLAB specifically, see Installing user-provided MATLAB toolboxes.

Did this answer your question?