To automatically download and install Ark to your machine you can run the following command in a terminal window.
curl -L https://arken.io/ark.sh | sh
To make Ark discoverable on your system you'll need add it to your system PATH. If you are on Linux using bash you can do this by running,
echo "export PATH=$PATH:$HOME/.ark/bin" >> ~/.bashrc
And if you are on MacOS running ZSH you can do this by running,
echo "export PATH=$PATH:$HOME/.ark/bin" >> ~/.zshrc
- Head over to the Ark GitHub repository releases.
- Copy the link to your corresponding OS and Architecture.
- Run
sudo curl -L "PATH-TO-RELEASE" -o /usr/local/bin/ark
- Run
sudo chmod a+x /usr/local/bin/ark
- (Optional) Run
sudo ln -s /usr/local/bin/ark /usr/bin/ark
- Download the Ark source code git repository by running.
git clone https://github.com/arken/ark.git
- Enter the repository folder by typing
cd ark
- Build the application by running
go build .
- Install the application by moving it to your bin by running,
cp ark /usr/bin/ark