Skip to content

Installation

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- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
source ~/.bashrc
nvm install node

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

npm i -g @sasjs/cli

Upgrades

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