Command-line interface for IVPN released

Releases By Alexandr Stelnykovych | Posted on May 20, 2020

As privacy advocates and technologists we are constantly working on features which we think will improve the user experience of the IVPN apps. Less than a month after the release of the Linux app, we are proud to release a command-line interface (CLI) for the macOS and Windows apps. After installing v2.12.0, it is possible to connect to the IVPN network using either the command line or graphical interface.

To get started, open a Command Prompt from the Start menu on Windows or run Terminal.app on macOS. Enter ivpn connect -any -country Canada and hit enter - this simple command will start a VPN connection to an IVPN server in Canada. You can also try running ivpn connect -last to connect with the last successfully used connection settings.

command line interface gif

You can control all aspects of the IVPN app through the command line. Run ivpn -h to learn more about the available commands and parameters:

$ ivpn -h
Command-line interface for IVPN client (www.ivpn.net)
version:2.12.0 (date:2020-05-13 commit:f8da51caf76cab956c1cc38819d08e04a337a296)

Usage: ivpn COMMAND [OPTIONS...] [COMMAND_PARAMETER] [-h|-help]

COMMANDS:
status           Prints full info about IVPN state
connect LOCATION Establish new VPN connection
disconnect       Disconnect active VPN connection (if connected)
servers FILTER   Show servers list
firewall         Firewall management
wgkeys           WireGuard keys management
dns DNS_IP       Default 'custom DNS' management for VPN connection
antitracker      Default AntiTracker configuration management for VPN connection
logs             Logging management
login ACCOUNT_ID Login operation (register ACCOUNT_ID on this device)
logout           Logout from this device (if logged-in)
account          Get info about current account

Tips:
 ivpn COMMAND -h         Show detailed description of command
 ivpn -h -full           Show detailed description about all commands


Our continued aim is to make the IVPN experience as seamless as possible. We have added the CLI option on macOS and Windows for customers who prefer to operate through the command line. It is just an option: you can also continue using the IVPN app graphical interface as before.

IVPN Team

apps
We invite you to discuss this post in our Reddit community or on Twitter. You can also send your feedback to blog@ivpn.net.
IVPN News

A security incident on our Bitcoin payment server

By IVPN Staff

IVPN News

Annual security audit scheduled for 2026

By Nick Pestell

Under the Hood

Unlinked Access: reducing cross-service account linkage with HSM-backed token derivation

By Juraj Hilje

Releases

Split Tunnel now available in IVPN for macOS

Posted on October 20, 2026 by Viktor Vecsei

IVPN for macOS v3.16.1 adds Split Tunnel: you can now exclude selected applications from the VPN, while everything else on your Mac stays in the tunnel. Split Tunnel has been available in our Windows, Linux and Android apps for some time, and macOS was the remaining gap.
modDNS beta - audited DNS filtering with granular controls
Releases

modDNS beta - audited DNS filtering with granular controls

Posted on March 18, 2026 by Maciej Tomczuk Viktor Vecsei

In short modDNS is now available in beta for select IVPN customers. This standalone DNS service developed by the IVPN team blocks ads, trackers, and malicious domains at the DNS level with granular filtering controls.
Spotted a mistake or have an idea on how to improve this page?
Suggest an edit on GitHub.