Installation
- Installing
- Updating
- Using a @next version
- Updating subcomponents
- Installing missing Chromium dependencies on a Linux server
Installing
Ayakashi runs on Node.js.
If you don’t have node installed in your system please go ahead and install it first.
The latest LTS release is recommended.
Then install Ayakashi as a global module:
npm install -g ayakashi
The above command will install Ayakashi and make it available globally in your system.
More installation options will be available in the future.
Updating
To update Ayakashi to the latest version, run:
npm update -g ayakashi
Using a @next version
The master branch is published at regular intervals as a @next
npm tag.
You may install the @next
version with:
npm install -g ayakashi@next
Beware that @next
releases might be completely broken. Only use them if you need to test things out or need a feature/fix not yet available on @latest
.
To see what changed since the last release, take a look at the commit history.
Updating subcomponents
Ayakashi includes 3rd party components that can be updated individually.
update-chrome
Updates the builtin chromium browser. See command options hereupdate-ua
Updates the builtin database of user agent stringsupdate-stealth
Updates the headless chromium detection patches
If you find yourself getting blocked by certain websites, try updating these components first.
Installing missing Chromium dependencies on a Linux server
If you try to run Ayakashi on a fresh linux server, you might get the following error:
Something went wrong Error: Can't launch Chrome!
.
That’s because Ayakashi downloads and uses a portable version of Chromium, so some system dependencies might be missing.
Option 1 - Install the missing dependencies
Ubuntu/Debian
CentOS
And then also update the nss library
Option 2 - Install Chromium from your package manager
You can also install chromium from your package manager.
It’s a bigger download than installing the dependencies individually but it’s easier and it will ensure everything is installed correctly.