Downloads of v


Last Update:

08 Jul 2015

Package Maintainer(s):

Software Author(s):

  • ActiveState Software Inc


tcl programming language console ide


  • 1
  • 2
  • 3 | Updated: 08 Jul 2015



Downloads of v


Software Author(s):

  • ActiveState Software Inc

  • 1
  • 2
  • 3

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Unknown

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


To install ActiveTcl, run the following command from the command line or from PowerShell:


To upgrade ActiveTcl, run the following command from the command line or from PowerShell:


To uninstall ActiveTcl, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade activetcl -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade activetcl -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure activetcl installed
    name: activetcl
    state: present
    source: STEP 3 URL

See docs at

chocolatey_package 'activetcl' do
  action    :install
  version  ''
  source   'STEP 3 URL'

See docs at

    Name: activetcl,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller activetcl
   Name     = 'activetcl'
   Ensure   = 'Present'
   Version  = ''
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'activetcl':
  provider => 'chocolatey',
  ensure   => '',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install activetcl version="" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 13 Aug 2015.


Save time in your development cycles by starting with a precompiled Tcl distribution for out-of-the-box installation and standardization across the operating systems you rely on, including Windows, Linux and Mac OS X (as well as Solaris, AIX, and HP-UX in commercial Enterprise Edition). Develop once and deploy successfully across your production environment.


  • Precompiled Tcl distribution for out-of-the-box installation
  • Core Tcl binaries
  • TeaPot package manager
  • Extended documentation


Install directory


Edition installed

Free Community Edition

; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
DetectHiddenText, off
SetTitleMatchMode, 1  ;begins

; variables
winTitle = ActiveState ActiveTcl ahk_class TkTopLevel

WinWait, %winTitle%
WinMinimize, %winTitle%

WinWaitActive, %winTitle%
ControlSend, TkChild9, {Tab}{Enter}, %winTitle%

$packageName = 'activetcl'
$url = ''
$checksum = '0263e13a4cc27916094c44975ff05874'
$checksumType = 'md5'
$url64 = ''
$checksum64 = '20236a2f7d8d1aeecb4a2d423b805db9'
$checksumType64 = 'md5'
$installerType = 'exe'
$validExitCodes = @(0)

$binRoot = Get-BinRoot
$installPath = Join-Path $binRoot $packageName
$silentArgs = "--directory `"$installPath`""

$scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$ahkExe = 'AutoHotKey'
$ahkFile = Join-Path $scriptPath "chocolateyInstall.ahk"

Start-Process $ahkExe $ahkFile
Install-ChocolateyPackage -PackageName "$packageName" `
                          -FileType "$installerType" `
                          -SilentArgs "$silentArgs" `
                          -Url "$url" `
                          -Url64bit "$url64" `
                          -ValidExitCodes $validExitCodes `
                          -Checksum "$checksum" `
                          -ChecksumType "$checksumType" `
                          -Checksum64 "$checksum64" `
                          -ChecksumType64 "$checksumType64"

$installPathBin = Join-Path $installPath 'bin'
Install-ChocolateyPath $installPathBin
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
DetectHiddenText, off
SetTitleMatchMode, RegEx

; variables
tkTopLevelTitle = ActiveState ActiveTcl [\d\.]+ Uninstaller ahk_class TkTopLevel
consoleTitle = C:\\Windows\\system32\\cmd\.exe.*at-unins.bat$ ahk_class ConsoleWindowClass
startMenuEntry = C:\programdata\microsoft\Windows\Start Menu\Programs\ActiveState ActiveTcl*

WinWait, %tkTopLevelTitle%, , 30
; ahk_class TkTopLevel represents TK framework which doesn't seem to respond to
;  normal Window messages so rather than indicating specific control classes
;  with ControlClick/Send, navigate controls with Tab (tested installer)
;ControlClick, TkChild3, %tkTopLevelTitle%
Send {Tab 2}{Space}
WinMinimize, %tkTopLevelTitle%

; start menu link is last item to be removed by uninstaller
; wait for this file to be removed, then restore window to continue
Loop {
  IfNotExist, %startMenuEntry%
  Sleep, 500

; unsupported TK framework, see previous note
;WinWait, %tkTopLevelTitle%, , 30
;ControlClick, TkChild4, %tkTopLevelTitle%

Sleep, 1500
WinActivate, %tkTopLevelTitle%
Send {Tab}{Space}

WinWait, %consoleTitle%, , 30
Send {Enter}
Sleep, 500
Send {Enter}

$packageName = 'activetcl'
$packageSearch = 'ActiveState ActiveTcl'
$installerType = 'exe'
$silentArgs = '/S'
$validExitCodes = @(0)

$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$unPath = Join-Path $toolsPath 'Uninstall-ChocolateyPath.psm1'
$binRoot = Get-BinRoot
$installPath = Join-Path $binRoot $packageName
$installPathBin = Join-Path $installPath 'bin'

$ahkFile = Join-Path $toolsPath 'chocolateyUninstall.ahk'
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile "$ahkRun" -Force

try {
  Start-Process 'AutoHotKey' "$ahkRun"
  Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                            'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' ) `
                   -ErrorAction:SilentlyContinue `
  | Where-Object   { $_.DisplayName -like "$packageSearch*" } `
  | ForEach-Object { Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                                 -FileType "$installerType" `
                                                 -SilentArgs "$($silentArgs)" `
                                                 -File "$($_.UninstallString)" `
                                                 -ValidExitCodes $validExitCodes }
  Remove-Item "$ahkRun" -Force
  if ((Get-ChildItem $installDir).Count -eq 0) {
    Remove-Item -Path $installDir -Force
  Import-Module $unPath
  Uninstall-ChocolateyPath $installPathBin 'User'
} catch {
  throw $_.Exception
function Uninstall-ChocolateyPath {
  [string] $pathToUninstall,
  [System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
  Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToUninstall:`'$pathToUninstall`'";

  #get the PATH variable
  $envPath = $env:PATH
  #$envPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
  if (!$envPath.ToLower().Contains($pathToUninstall.ToLower())) {
    Write-Host "PATH environment variable does not have $pathToUninstall in it."

  Write-Host "PATH environment variable has $pathToUninstall in it. Removing..."
  $actualPath = [Environment]::GetEnvironmentVariable('Path', $pathType)

  # escape regex metachars, match possible backslash and item separator at eol
  $pathToUninstallRegex = ($pathToUninstall -replace '([\\().])', '\$1') + '\\?(;|$)'

  # remove pathToUninstall from actualPath
  $actualPath = $actualPath -replace "$pathToUninstallRegex", ''

  if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
    $psArgs = "[Environment]::SetEnvironmentVariable('Path',`'$actualPath`', `'$pathType`')"
    Start-ChocolateyProcessAsAdmin "$psArgs"
  } else {
    [Environment]::SetEnvironmentVariable('Path', $actualPath, $pathType)

  # remove from path of current powershell session
  $envPSPath = $env:PATH
  $env:Path = $envPSPath -replace "$pathToUninstallRegex", ''

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
ActiveTcl 492 Thursday, May 14, 2015 Approved
ActiveTcl 721 Tuesday, August 5, 2014 Unknown
ActiveTcl 636 Tuesday, June 11, 2013 Unknown
ActiveTcl 499 Tuesday, June 4, 2013 Unknown
ActiveTcl 8.5.14 552 Tuesday, June 4, 2013 Unknown



  • Automatically built and uploaded by dtgm
Discussion for the ActiveTcl Package

Ground Rules:

  • This discussion is only about ActiveTcl and the ActiveTcl package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ActiveTcl, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus