Introduction: Offline Installation

If you are behind a corporate proxy, and configuring your editor with the proxy settings doesn’t help, or you want to install wallaby.js to function in offline mode, you may follow the instructions below.

(~ in the paths below is your OS user home folder)

Please Note: Our recommendation is to only install in offline mode if you have no other option. Offline mode does will not receive automated updates and bug fixes.

VS Code

  • open your settings.json file and add the "wallaby.noAutomaticInstall": true, setting to it,
  • install the latest extension version via VS Code extensions mechanism,
  • download the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip file, where NNN is latestServer[0] value in the downloaded wallaby.json file,
  • unzip the downloaded file to the ~/.vscode/extensions/WallabyJs.wallaby-vscode-LATEST/wallaby folder,
  • download the latest PhantomJs for your platform,
  • extract the downloaded archive and place the PhantomJs binary to the ~/.vscode/phantomjs_v2.1.1/ folder,
  • open VS Code and start wallaby.js.

To update wallaby.js core in VS Code in future:

  • download trusted core version from the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip URL, where NNN is the trusted version,
  • unzip the file to the ~/.vscode/extensions/WallabyJs.wallaby-vscode-LATEST/wallaby folder.

Atom

  • open your Atom Init Script and add the process.env.wallabyNoAutomaticInstall = true to it,
  • install the latest extension version via Atom Packages mechanism,
  • close Atom,
  • download the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip file, where NNN is latestServer[0] value in the downloaded wallaby.json file,
  • unzip the downloaded file to the ~/.atom/packages/atom-wallaby/wallaby folder,
  • download the https://wallaby-downloads.s3.amazonaws.com/wallaby-atom-vMMM.zip file, where MMM is latestAtomPlugin value in the downloaded wallaby.json file,
  • unzip the downloaded file to the ~/.atom/packages/atom-wallaby/wallaby-atom folder,
  • open Atom and start wallaby.js.

To update wallaby.js core in Atom in future:

  • download trusted core version from the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip, where NNN is the trusted version,
  • unzip the file to ~/.atom/packages/atom-wallaby/wallaby.

Sublime Text

  • install the latest package version via Sublime Text package manager,
  • open your Wallaby.sublime-settings file (Preferences - Package Settings - Wallaby - Settings - User) and add the "noAutomaticInstall": true, setting to it,
  • download the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip file, where NNN is latestServer[0] value in the downloaded wallaby.json file,
  • unzip it to the Packages/Wallaby/wallaby folder (you may use the Browse Packages command to open the Packages folder),
  • download the latest PhantomJs for your platform,
  • extract the downloaded archive and place the PhantomJs binary to the Packages/phantomjs_v2.1.1/ folder,
  • start wallaby.js.

To update wallaby.js core in Sublime Text in future:

  • download trusted core version from the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip, where NNN is the trusted version,
  • unzip the file to Packages/Wallaby/wallaby.

JetBrains IDEs

First download and install the Wallaby-Intellij plugin to your offline computer from https://wallabyjs.com/download/.

Transferring files from an previous online installation

The easiest way to install JetBrains IDEs to an offline computer is to first install to an online computer and then transfer your JetBrains wallaby files to the offline computer.

  1. After installing the Wallaby-Intellij plugin, run wallaby for a project on the online computer.
  2. If using a Windows environment, copy your %USERPROFILE%\.WebstormX\system\wallaby directory from the online computer to the offline computer. If using Mac/Linux, copy your ~/Library/Caches/WebStormX/wallaby directory from the online computer to the offline computer.

Installing from scratch

  1. Download the wallaby version file from https://update.wallabyjs.com/wallaby.json
  2. Download the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip file, where NNN is latestServer[0] value in the downloaded wallaby.json file
  3. If using Windows subsequent steps should be performed within this %USERPROFILE%\.WebstormX\system\wallaby directory. If using Mac/Linux, subsequent steps should be performed within this ~/Library/Caches/WebStormX/wallaby directory.
  4. Unzip the downloaded wallaby core file from Step 2 to the folder the wallaby folder specified in Step 4. You should now have a nested wallaby/wallaby directory within the directory specified in Step 3.
  5. Download the latest PhantomJs and extract the downloaded archive to your wallaby directory from Step 3 to /wallaby/phantomjs_v2.1.1/. You should now have a nested wallaby/phantomjs_v2.1.1 directory within the directory specified in Step 3. (Note: the directory must be phantomjs_v2.1.1 regardless of the version of PhantomJS that you downloaded)
  6. Start your IDE and start Wallaby

Visual Studio

First download and install the Wallaby Visual Studio plugin to your offline computer from https://wallabyjs.com/download/.

Transferring files from an previous online installation

The easiest way to install to an offline computer is to first install to an online computer and then transfer the Visual Studio Plugin files files to the offline computer.

  1. After installing the Wallaby Visual Studio plugin, run wallaby for a project on the online computer.
  2. If using a Windows environment, copy your %USERPROFILE%\.wallaby directory from the online computer to the offline computer.

Installing from scratch

  1. Download the wallaby version file from https://update.wallabyjs.com/wallaby.json
  2. Download the https://wallaby-downloads.s3.amazonaws.com/wallaby-vNNN.zip file, where NNN is latestServer[0] value in the downloaded wallaby.json file
  3. Extract the wallaby version to %USERPROFILE%\.wallaby directory.
  4. Rename the extracted folder from %USERPROFILE%\.wallaby\wallaby to %USERPROFILE%\.wallaby\core.
  5. Download the latest PhantomJs and extract the contents of the downloaded archive to %USERPROFILE%\.wallaby\dependencies\phantomjs\2.1.1. Please note, you will have to ensure the necessary subfolders exist.
  6. Start your IDE and start Wallaby