Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastPass CLI

(c) 2014 LastPass. All Rights Reserved.

C99 command line interface to LastPass.com.

Operating System Support

lpass is designed to run on GNU/Linux, Cygwin and Mac OS X.

Dependencies

Installing on Linux

Redhat/Centos

  • Install the needed dependencies
sudo yum install openssl libcurl libxml2 pinentry xclip
Debian/Ubuntu
  • Debian: Install the needed dependencies
sudo apt-get install openssl libcurl3 libxml2 libssl-dev libxml2-dev libcurl4-openssl-dev pinentry-curses xclip
  • Ubuntu: Install the needed dependencies
sudo apt-get install openssl libcurl3 libxml2 libssl-dev libxml2-dev pinentry-curses xclip

Gentoo

  • Install the package
sudo emerge lastpass-cli
Other Linux Distros

Install the packages listed in the Dependencies section of this document.

Installing on OS X

You'll need to have Xcode installed and working. You can use different packages mangers for OS X like Homebrew/MacPorts/Fink. These instructions use Homebrew. In the future this package MAY become a home brew package.

  • Install homebrew folowing the instructions at http://brew.sh/
  • Brew install the needed dependencies (type the command below in your terminal)
  • The below does not include packages needed for clipboard support.
brew install openssl curl libxml2 pinentry-mac asciidoc
  • Note: If you get an error about needed "sudo" for the make command, that means you haven't launched xcode and accepted Apple's license agreement.

Building

$ make

Installing

$ sudo make install

These environment variables can be passed to make to do the right thing: PREFIX, DESTDIR, BINDIR, LIBDIR, MANDIR.

Running

If you've installed it:

$ lpass

Otherwise, from the build directory:

$ ./lpass

Documentation

The install-doc target builds and installs the documentation. It requires AsciiDoc as a prerequisite.

$ sudo make install-doc

Once installed,

$ man lpass

About

LastPass command line interface tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors