Skip to main content

Log in from the CLI

The Altostra CLI needs to be authenticated before it can access and use the Altostra services.

Log in

In a terminal window run:

alto login

The command opens an authentication page in your browser where you can use your Altostra account to log in. Once the login process is complete, you can close the browser tab/window and get back to the terminal:

At any point you can check your login status and expiration by using the whoami command:

alto whoami
✔ Getting user information...
User ID: xxxxxxxx
Expires: Wed Dec 25 2019 20:55:55

Log out

If at some point you need to log out of your account - for example, if you've been working on someone else's machine or if you need to switch users - run the following command:

alto logout

What's Next?

Now that you have logged in to Altostra, it's time to build something. Head over to the next section to find out how.

Ready to Get Started?

Get Started for Free
© 2023 Altostra, Inc.