Skip to content


The runtime environment for the CLI is Node. We recommend using NVM instead of Node directly, as this does not require root permissions.

curl -o- | bash
source ~/.bashrc
nvm install node

The CLI can now be installed using Node Package Manager (npm) as follows:

npm i -g @sasjs/cli


Simply run npm i -g @sasjs/cli@latest to get the latest package.

Note - this approach is not reliable if you are using NPM v6. We recommend that you use the latest version of NPM, for security reasons. To update NPM, run: npm i -g npm@latest