Installing the command line interface (Linux, macOS)
For windows instructions, look here
In order to work with the Nerdalize cloud you will need to use the command line interface (CLI). Here you’ll find instructions to get started.
Nerd, our command line interface is built in Go (golang), and should run on most platforms.
- Download the latest version from GitHub.
Unzip or unpack the file you downloaded.
- On macOS: double click on the archive
- On Linux
tar -xvzf nerd-[...]-linux.tar.gz
Open your terminal and go to the directory to where you unpacked the archive.
- Do either of the following:
To make nerd available system-wide, copy it to your /usr/local/sbin/ directory:
$ cp -a nerd /usr/local/sbin/
You can now use it anywhere:
$ nerd --help
OR, to use nerd from the directory where it’s located, use it like so (with the ./ prefix):
$ ./nerd --help
You can now login with your Nerdalize credentials.
$ nerd login
In order to authenticate you, the client will open a page in your default web browser. If you are not signed in there, you will be prompted to sign in and the login will be complete.
If you don’t have an account yet, you can request one here.
Problems with logging in?
The CLI doesn’t return ‘Successful login’? Check if you need to set a HTTP PROXY.
Set your default project.
$ nerd project list PROJECTS nerdalize-base
This lists all your projects, from which you can then pick your default project.
$ nerd project set <your project name>
Now that you’ve set up Nerd you’re ready to start using the Nerdalize cloud. If you were following a guide just head back and continue. Otherwise, you might want to learn how to run your first workload.