Wiki Tools

  • Find Page
  • Recent Changes
  • Page History
  • Attachments

WARNING: This page is out of date. Please see WindowsDownloads and WindowsInstall instead.

Windows Installation Instruction

Bzr uses a standard windows installer. Bzr itself was compiled as a stand-alone application and does not require a python interpreter to be installed on your machine.

If you want to install bzr as a python-based program, then use official tar.gz from OfficialDownloads page. (For uncompressing a tar.gz archive you could use Cygwin's tar utility or WinRAR or another archiver that support this format).

Installing stand-alone bzr.exe

Download the installer and run it. This will install bzr as a usual windows application. Change installation directory and group in Main Windows Menu if you wish.

At the end of installation process you will be asked for 2 options:

  • Add directory to PATH environment variable -- register directory where bzr was installed in PATH environment variable

  • Add Bzr context menu to shell -- provide item in right-click context menu of Windows Explorer (see below).


Uncheck the undesired items to skip them.

For tuning options that affects bzr behaviour, see start_bzr.bat launcher in the directory where bzr was installed. This launcher can be invoked via Start -> Programs -> Bazaar-NG -> Start Bzr in cmd shell shortcut or via the right-click context menu in Windows Explorer (if you enable creating context menu item during installation).



Note: by default Windows 2000 does not have MFC71.DLL library that needed for the paramiko library that provides SFTP support. You need to download this library separately and copy it to the directory where Bzr installed.

Requirements for python-based bzr

For using bzr you need (at least) Python interpreter v.2.4 or higher installed on your machine.

It is recommended that you install the ElementTree package and cElementTree extension. It is also recommended that you install pywin32 package from Mark Hammond (Win32 extensions for Python).


  1. Python home:

  2. PyWin32 package:

  3. ActivePython (alternate build for Windows with pywin32 included):

  4. ElementTree package:

  5. cElementTree extension:

  6. PyCurl package:


Download and unpack the archive with bzr python sources. Run setup script from directory in which unpacked bzr is placed:

  • python install

As result bzr engine (bzrlib package) will be installed in your Python\Lib\site-packages directory and bzr script will be installed in your Python\Scripts directory. Along with bzr scripts in Python\Scripts directory will be created special batch file bzr.bat for easy running bzr script.

If Python\Scripts directory (typically C:\Python24\Scripts) is not listed in your PATH environment variable you need add this path manually. Or simply copy this bzr.bat to directory that listed in your PATH.

After successful installation you can run bzr simply by typing bzr in command line prompt.

See Also

An alternative way to package and run BZR on Windows is described in this post:

(the script was tested with an earlier version of bzr. to make it run with recent versions, you will probably have to add additional libraries to the LIBS variable --FredrikLundh)

The windows installer-building guide at BzrWin32Installer.


If you use python-based bzr then you also may interested in script that create special launching files for easy running bzr without installation.

Can be useful for bzr developers and hackers.