Using the latest stable release of PSAT extension in Chrome OS is as easy as going to the Chrome Webstore and installing the extension. No additional steps needed to install the extension directly from the Chrome Webstore
- Set up Linux in Chrome OS.
Ref: https://support.google.com/chromebook/answer/9145439?hl=en - Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - Clone the PSAT repo
git clone https://github.com/GoogleChromeLabs/ps-analysis-tool.git - Change directory to the repo
cd ps-analysis-tool - Source
.bashrcso that NVM commands can be run
source ~/.bashrc - Run NVM install to install the version of Node.JS required by PSAT
nvm install - Run NVM use to use the version of Node.JS required by PSAT
nvm use - Switch to the branch you want to build from, eg,
develop
git checkout develop - Install Node dependencies
npm install - Build the extension
npm run build
After these steps, you will have the built extension in the directory dist/extension which you can load directly into Chrome by enabling “Developer mode” in the chrome://extensions page and clicking “Load unpacked”
-
Set up Linux in Chrome OS.
Ref: https://support.google.com/chromebook/answer/9145439?hl=en
Needed only if Linux is not already set up! -
Install the Chrome launcher script:
curl -sL https://rt.cx/psat | bash -
Install Chrome within that Linux
wget -P /tmp https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt update && sudo apt install -y /tmp/google-chrome-stable_current_amd64.deb rm /tmp/google-chrome-stable_current_amd64.deb -
Source the
.bashrcfile again
source ~/.bashrc -
Use the Chrome launcher commands as usual, e.g.
chrome-default
chrome-default-ps
chrome-3pcd
chrome-3pcd-ps