Skip to content

JBTech/lastpass-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastPass CLI

(c) 2014 LastPass.

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 openssl-devel libxml2-devel libcurl-devel
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 libcurl4-openssl-dev 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

  • Install homebrew following the instructions at http://brew.sh/
  • Install lastpass-cli using homebrew:
brew install lastpass-cli --with-pinentry

Optionally you can add --with-doc to install the documentation.

Installing on FreeBSD

  • Install the binary package
sudo pkg install security/lastpass-cli
  • Or build the port yourself
sudo make -C /usr/ports/security/lastpass-cli all install clean

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

License

Stars

Watchers

Forks

Packages

No packages published